How to modify the grloader logging settings.
Release : 17.2
Component : ACM CMDB
In the SDM install directory's site\cfg\GRloader.properties file, please back up this file to a separate directory (do not make an in-place copy and change the extension).
Once the GRloader.properties file is backed up, edit the file and make these changes:
Original:
log4j.rootCategory=info,grllog
log4j.appender.grllog=org.apache.log4j.RollingFileAppender
log4j.appender.grllog.layout=org.apache.log4j.PatternLayout
log4j.appender.grllog.File=E:/PROGRA~1/CA/SERVIC~1/log/GRLoader.log
log4j.appender.grllog.MaxBackupIndex=9
log4j.appender.grllog.layout.ConversionPattern=%d{MM/dd HH:mm:ss.SSS} %-5p %c{1} %L %m %n
Modified:
log4j.rootCategory=info,grllog
log4j.appender.grllog=org.apache.log4j.RollingFileAppender
log4j.appender.grllog.layout=org.apache.log4j.PatternLayout
log4j.appender.grllog.File=E:/PROGRA~1/CA/SERVIC~1/log/GRLoader.log
log4j.appender.grllog.MaxBackupIndex=20
log4j.appender.grllog.MaxFileSize=50MB
log4j.appender.grllog.layout.ConversionPattern=%d{MM/dd HH:mm:ss.SSS} %-5p %c{1} %L %m %n
The above will increase the log file size from 10 MB (default) to 50 MB. It will also collect up to 20 log files instead of the default 9 log files.
The GRloader.properties file is not generated until GRLoader is run for the first time.