The default log file for Jetty Server in-built with iProcess Engine 11.x does not come with Rolling File setup for log files, and hence the log file can grow to a huge size depending on your configuration and choice of debug, warn settings.
Following are the lines that you can use in log4j.properties inside 'eaijava' folder, and retstart jetty server, so that the log files would be rolled over after it reaches 5 MB.
log4j.rootLogger=warn, EAIJAVA
log4j.appender.EAIJAVA=org.apache.log4j.RollingFileAppender
log4j.appender.EAIJAVA.Append=true
log4j.appender.EAIJAVA.File=C:/swserver/dev_nod2/logs/eaijava.log
log4j.appender.EAIJAVA.MaxFileSize=5MB
# Keep one backup file
log4j.appender.EAIJAVA.MaxBackupIndex=5
log4j.appender.EAIJAVA.layout=org.apache.log4j.PatternLayout
log4j.appender.EAIJAVA.layout.ConversionPattern=%d [%-5p]%x %c{1} - %m%n%n
TIBCO.SingleLogFile=true
No comments:
Post a Comment