z/OS Common Information Model User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Logging

z/OS Common Information Model User's Guide
SC34-2671-00

Logging

The CIM server sends log messages

  • to the z/OS system console,
  • to stderr,

    if the CIM server is run as a started task. The logs are captured in /var/wbem/logs/cimserver.err.

  • to the z/OS Communications Server's system logger (syslog) daemon,

    if the syslog daemon is configured as described in z/OS Communications Server: IP Configuration Referenceand z/OS Communications Server: IP Configuration Guide,

  • and to the trace facility,

    if traceComponents includes the element LogMessages, (see also Tracing).

Generally logging for the CIM server is enabled and cannot be turned off. However, you can configure the level of logging.

To modify the log level
use the cimconfig command or the MODIFY console command to change the logLevel configuration property.
Examples
  • type the following command into the UNIX System Services shell while the CIM server is running:
    cimconfig -s logLevel=INFORMATION
  • or type the following command into the z/OS system console:
    F CFZCIM,APPL=CONFIG,logLevel=INFORMATION

See also cimconfig and MODIFY console command.

Log levels
You can choose between five different log levels:
INFORMATION (default)
The default setting for logLevel is INFORMATION. This setting should not be changed unless there is a specific need for a more or less detailed logging.
WARNING
returns log messages for warnings, severe and fatal errors
SEVERE
returns log messages for severe and fatal errors
FATAL
returns log messages only for fatal errors
TRACE
returns all log messages and all trace messages

trace messages are only routed to the z/OS Communications Server's system logger (syslog) daemon - never to the system console. Remember to set traceFacility to LOG, otherwise no trace message is displayed in the syslog daemon (see Tracing).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014