Product Log Files

OpsCx for SIM records actions performed by its event and topology integration services into log files. Occurrences of unexpected behavior are also added as entries into the log files. You can use the logged information to investigate issues.

Log Files Location

OpsCx for SIM creates and maintains log files in the <OvDataDir>/log directory.

There is one log file for each integrated SIM aspect (events, topology) as follows:

HPBsmIntSIM-event.<Date>.log

HPBsmIntSIM-topology.<Date>.log

On the same location, you can also find the event backward synchronization log file OMBackSync.log.

To change location of the log file for a particular integrated SIM entity type, perform these steps:

  1. Change the current directory to <OvDataDir>/conf/HPBsmIntSIM and open the appropriate integration configuration file (sim_events.conf or sim_topology.conf) in a plain text editor.

  2. In the genintd section, change the value of the log-file option. Preserve the %d placeholder in the log file name.

  3. Save your changes.

  4. Restart the affected integration service as described in Restarting Services topic.

Logging Severity Levels

Log entries have different severity levels. In OpsCx for SIM, the following levels are available:

Severity Level Keyword Meaning
0 No Log logging is disabled
1 Error, Config errors, current values of integration configuration options
2 Info, Warning information messages, warnings
3 Trace tracing (debugging) messages

By default, the logging severity level is set to 1 (internal default), which means only errors and configuration-related messages are logged. For troubleshooting purposes, you can change the level.

When a particular logging level is set, it causes messages with lower severity level to be recorded as well. For example, if the severity level is set to 2, information messages, warnings, errors, and configuration-related messages are logged, but tracing messages are not.

To change the logging severity level for an integrated SIM entity type, perform these steps:

  1. Change the current directory to <OvDataDir>/conf/HPBsmIntSIM and open the appropriate integration configuration file in a plain text editor.

  2. In the genintd section, perform the following:

    1. Uncomment the line with the log-level option.

    2. In the same line, replace the value placeholder in quotation marks with the chosen logging severity level.

    For example, to change the logging severity level from the default level to 2, change the line

    // "log-level" : "3",

    to

    "log-level" : "2",

  3. Save your changes.

  4. Restart the affected integration service as described in Restarting the Services topic.

To change event backward synchronization logging severity, edit the OMBackSync.pl script, and change the following variable:

my $verbosity = Genint::Log::DEFAULT;

Normally, the log severity is set to DEFAULT, but the following options are also available: OFF, ERROR, INFO, TRACE.

Related topics

Restarting the Services