ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

grloader logging configuration

book

Article ID: 212681

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

How to modify the grloader logging settings.

Environment

Release : 17.2

Component : ACM CMDB

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=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.