BEGIN EVENTLOGGING (Begin logging events)
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-------+ | (1) | +-NTEVENTLOG-----+ | (2) | +-SYSLOG---------+ +-TIVOLI---------+ '-USEREXIT-------'
- This parameter is only available for the Windows operating system.
- This parameter is only available for the Linux operating system.
Parameters
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.
- ALL
- Specifies all receivers that are configured for event logging.
- CONSOLE
- Specifies the server console as a receiver.
- ACTLOG
- Specifies the IBM Spectrum Protect™ activity log as a receiver.
- EVENTSERVER
- Specifies the event server as a receiver.
- FILE
- Specifies a user file as a receiver. Each logged event is a record in the file and a person cannot read each logged event easily.
- FILETEXT
- Specifies a user file as a receiver. Each logged event is a fixed-size, readable line.
NTEVENTLOG
Specifies the Windows application log as a receiver.
SYSLOG
Specifies the Linux system log as a receiver.
- TIVOLI
- Specifies the Tivoli Management Environment (TME) as a receiver.
- USEREXIT
- Specifies a user-written routine to which IBM Spectrum Protect writes information as a receiver.
Example: Begin logging events
Begin logging events to the IBM Spectrum Protect activity log.begin eventlogging actlog
Related commands
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. |