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.
.-LOGNAME=*-------------------------. >>-+-DEACTIVATE--LOG-+--+-----------------------------------+-->< '-I--L------------' '-LOGNAME=-+-analyzerlog----------+-' +-errorlog-------------+ +-notificationlog------+ '-systemobservationlog-'
The command has the following parameter:
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