Previous Topic: Error LoggingNext Topic: Error Messages


Configure Logging

You can configure Log4J to modify the location of the log files or the log level.

To configure logging, edit the Installation_folder\cfg\log4j.properties file and specify the log file location or the log level.

The following snippet shows the contents of the log4j.properties file:

#********************************************************************************
#********************************************************************************
# configure "MDB Admin Console" FILE logger
#********************************************************************************
#********************************************************************************
# Configure FILE log appender
log4j.appender.FILE = org.apache.log4j.FileAppender
log4j.appender.FILE.File =${user.dir}/log/mdbac_${log4j.dateTime}.log
log4j.appender.FILE.Append=true
….
#********************************************************************************
#********************************************************************************
# mdbac logging options
#********************************************************************************
#********************************************************************************
log4j.logger.ca.itcm.mdbac.api=ERROR, FILE
log4j.logger.ca.itcm.mdbac.console=ERROR, FILE
log4j.logger.ca.itcm.mdbac.cmd.ccnfregdb=ERROR, FILE