For temporarily changing log4j settings at run time, this command has the following format:
F jobname,APPL=CHNGLOG,logger[*]:loglevel
Defines the log4j logger, which is usually the class or package name.
Specifies the lowest log4j level of messages to display, such as DEBUG, INFO, WARN, ERROR, or FATAL.
Notes:
Example
This example temporarily changes the log4j settings of the SCS logger to warning or higher (WARN, ERROR, or FATAL):
F MSMTC,APPL=CHNGLOG,com.ca.scs:WARN
This example temporarily changes the log4j settings of all the SAM Communications loggers to debug or higher (DEBUG, INFO, WARN, ERROR, or FATAL):
F MSMTC,APPL=CHNGLOG,com.ca.SAM.Communications.*:DEBUG
This example temporarily changes the log4j settings of all loggers to informational or higher (INFO, WARN, ERROR, or FATAL):
F MSMTC,APPL=CHNGLOG,*:INFO
|
Copyright © 2014 CA.
All rights reserved.
|
|