Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF
Using the syslog daemon for CIM server logging z/OS Common Information Model User's Guide SC34-2671-00 |
|||||||||||||
Using the syslog daemon for CIM server loggingThe z/OS CIM server will connect to the syslog daemon and send all of its log messages to it, where the filtering according to the logLevel configuration property applies as described above. Therefore no messages will be submitted to the syslog daemon which have a higher log level than what's specified in the current value of the logLevel configuration property. Messages that go to the syslog daemon are prepended with an according z/OS message number, which is either one of the generic CFZ00001E, CFZ00002W or CFZ00004I messages followed by a PGSxxxxx message number, or one of the directly mapped z/OS specific CFZxxxxx message numbers. Syslog messages from the z/OS CIM server will have an identifier of “CFZCIM" and also contain the CIM server's process ID. The log levels of the z/OS CIM server are mapped to the following syslog levels:
The syslog service must be properly configured for CIM, and the syslog daemon must be started as described in z/OS Communications Server: IP Configuration Reference and z/OS Communications Server: IP Configuration Guide. Following is a sample syslog configuration file (/etc/syslog.conf) entry for the CIM server, which tells the syslog daemon to create log files:
Example:
When configured like this, the CIM server log messages will be displayed in the format shown by the following example:
Example:
Except for the CIM server's logLevel property, all configuration now occurs through the syslog service as described in z/OS Communications Server: IP Configuration Referenceand z/OS Communications Server: IP Configuration Guide. Configuration of the syslog daemon for specific processes/daemons is done based on the job name of the process writing the logs.
|
Copyright IBM Corporation 1990, 2014
|