This article details the customization options in regards to Assure Client's logging capabilities
Once your Assure Client has successfully deployed, a file labeled "log4j.properties" will be created within the following directory
<install_home>/igx-data/<jvm>/IA/conf
This file may be utilized to configure various logging values, such as "MaxFileSize" and "MaxBackupIndex".
NOTE: It's important to make the edits within the iitap section, as this is the section that controls the igx.log file, which is the primary Assure client log.
#########################################
# iitap is set to be a RollingFileAppender
#
# Adjust the MaxFileSize to the desired size
# Adjust the MaxBackupIndex to the number of files to roll over into.
log4j.appender.iitap=org.apache.log4j.RollingFileAppender
log4j.appender.iitap.File=D:/Infogix/AssureClient92/IA-9.2-client/InfogixClient/logs/JVM1/IA/${HOSTNAME}-igx.log
log4j.appender.iitap.MaxFileSize=1000KB
log4j.appender.iitap.MaxBackupIndex=10
log4j.appender.iitap.layout=org.apache.log4j.PatternLayout
log4j.appender.iitap.layout.ConversionPattern=%d{yyyyMMMdd-HH:mm:ss} %-5p (%t) [%c]%m%n
These values are fully customizable, though please note that redeploying the application will cause this file to revert to its default configuration setup. To avoid this, you may copy each individual property into an override.properties file to update them. Full details on override.properties can be found in our article about using override.properties property file.
Comments
0 comments
Please sign in to leave a comment.