ACTIVATE LOG

Use the ACTIVATE LOG command to start recording log data to a file. Log data is always collected in memory. If the log is activated, whenever the log buffer is full, the buffer is written to a file. The default location for this file is the /tmp directory. This location can be overridden as described in Planning the domain setup. You must ensure that there is sufficient space in the active location.

The data is written until the log is deactivated or the Provisioning Manager terminates. See DEACTIVATE LOG. When the Provisioning Manager is started for the first time, all logs are in their default state. The default state for the error log is activated. For all other logs, it is deactivated.

Note:
This command is to be used only if instructed to do so by IBM service personnel.

Syntax

Read syntax diagramSkip visual syntax diagram                      .-LOGNAME=*-------------------------.
>>-+-ACTIVATE--LOG-+--+-----------------------------------+----><
   '-A--L----------'  '-LOGNAME=-+-analyzerlog----------+-'
                                 +-errorlog-------------+
                                 +-notificationlog------+
                                 '-systemobservationlog-'
 

Parameters

The command has the following parameter:

LOGNAME=name
The type of data to be recorded:
analyzerlog
Workload analysis results
errorlog
Unexpected errors detected during processing
notificationlog
Communications with the Provisioning Manager
systemobservationlog
Monitored metrics from the observed systems
You can also specify LOGNAME=* to indicate that writing is activated for all logs. It is the default if you omit the LOGNAME parameter; name is not case-sensitive.

Example

To record communications with the Provisioning Manager, issue the following command:

MODIFY CPOSERV,APPL=ACTIVATE LOG LOGNAME=NotificationLog

or:

F CPOSERV,APPL=A L LOGNAME=NotificationLog

The response on the console is:

CPO1031I Logging successfully activated for log NotificationLog