Use this command to begin logging events to one or more receivers. A receiver for which event logging has begun is an active receiver.
When the server is started, event logging automatically begins for the console and activity log and for any receivers that are started automatically based on entries in the server options file. You can use this command to begin logging events to receivers for which event logging is not automatically started at server startup. You can also use this command after you have disabled event logging to one or more receivers.
Privilege Class
To issue this command, you must have system privilege.
Syntax
.-ALL-------------------. >>-BEGin EVentlogging----+-----------------------+------------->< | .-,----------------. | | V | | '----+-CONSOLE-----+--+-' +-ACTLOG------+ +-EVENTSERVER-+ +-FILE--------+ +-FILETEXT----+ +-SNMP--------+ +-TIVOLI------+ '-USEREXIT----'
Parameters
Specify one or more receivers. You can specify multiple receivers by separating them with commas and no intervening spaces. If you specify ALL or no receiver, logging begins for all receivers that are configured.
Examples
Task
Begin logging events to the TSM activity log.
Related Commands
Table 21. Commands Related to BEGIN EVENTLOGGING
Command | Description |
---|---|
DISABLE EVENTS | Disables specific events for receivers. |
ENABLE EVENTS | Enables specific events for receivers. |
END EVENTLOGGING | Ends event logging to a specified receiver. |
QUERY ENABLED | Displays enabled or disabled events for a specific receiver. |
QUERY EVENTRULES | Displays information about rules for server and client events. |
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |