DEACTIVATE LOG

Use the DEACTIVATE LOG command to stop recording log data to a file. Even though the data is no longer recorded in a file, it continues to be collected in memory. If the log was active, the current log buffer is written to the file. The default location for this file is the /tmp directory. This location can be overridden as described in Planning the domain setup.

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

Syntax

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

Parameters

The command has the following parameter:

LOGNAME=name
The type of data to stop recording:
analyzerlog
Contains workload analysis results
errorlog
Contains unexpected errors that are detected during processing
notificationlog
Contains communications with the Provisioning Manager
systemobservationlog
Contains monitored metrics from the observed systems
You can also specify LOGNAME=* to indicate that writing be deactivated for all logs. If you omit the LOGNAME parameter, the default is that writing is deactivated for all logs. Name is not case-sensitive.

Example

To stop recording monitored metrics for the observed systems, issue the following command:

MODIFY CPOSERV,APPL=DEACTIVATE LOG LOGNAME=NotificationLog

or:

F CPOSERV,APPL=I L LOGNAME=NotificationLog

The response on the console is:

CPO1031I Logging successfully deactivated for log NotificationLog
CPO2030I Log information written to file
                    /tmp/cpoNotificationLog_20071024131732469.log