Logging events to the Linux system log
The Linux system log displays enabled events that are sent to the system log.
About this task
The information that is displayed includes the following items:
- The date and time that the Linux system log received the event
- The category of the event
- The event number
- The user security identifier
- The name of the computer that logged the event
Tip: To learn about other ways to log events to receivers, see Logging Tivoli Storage Manager events to receivers.
Procedure
Enable logging to the Linux system log by using one of the following methods:
Event logging setup | Procedure |
---|---|
Single-server events | To enable single-server events for logging to the system log, you can issue the BEGIN EVENTLOGGING and ENABLE EVENTS commands. For example:
An example of the message that appears in the system log is as follows:
|
Client-to-server events | To enable client-to-server events for logging to the system log, you can issue the BEGIN EVENTLOGGING and ENABLE EVENTS commands. For example:
An example of the message that appears in the system log is as follows:
|
Server-to-server events | To enable server-to-server events for logging to the system log, you can issue the DEFINE EVENTSERVER, BEGIN EVENTLOGGING, and ENABLE EVENTS commands. For example, to set up logging between server A and server B, issue the following commands:
An example of the message that appears in the system log is as follows:
|