How to enable grloader additional logging.
search cancel

How to enable grloader additional logging.

book

Article ID: 212681

calendar_today

Updated On: 06-24-2025

Products

CA Service Management - Service Desk Manager

Issue/Introduction

Client is not able to use GRLoader to update the Configuration Item. How to modify the grloader logging settings.

Environment

Release : CA Servicedesk Manager 17.X.

Resolution

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=DEBUG,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 set logging to run in DEBUG mode.  It will also increase the log file size from 10 MB (default) to 50 MB and collect up to 20 log files instead of the default 9 log files.

Additional Information

The GRloader.properties file is not generated until GRLoader is run for the first time.