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.
To issue this command, you must have system privilege.
>>-BEGin EVentlogging-------------------------------------------> .-ALL---------------------------------------. >--+-------------------------------------------+--------------->< | .-,-------------------------------------. | | V | | '---+-CONSOLE---------------------------+-+-' +-ACTLOG----------------------------+ +-EVENTSERVER-----------------------+ +-FILE------------------------------+ +-FILETEXT--------------------------+ +-NTEVENTLOG------------------------+ | (1) | +-Windows operating systemsSNMP-----+ +-TIVOLI----------------------------+ '-USEREXIT--------------------------'
Specify one or more receivers. You can specify multiple receivers by separating them with commas and no intervening spaces. If you specify ALL, logging begins for all receivers that are configured. The default is ALL.
begin eventlogging actlog
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. |