Rachel Kozlowski wrote:I have renamed the file to log4j.properties. I have put the whole path to this file directly into the CLASSPATH and I have also put the file into the WEB-INF/classes.
Cheers, Martijn,
Twitter.
Rachel Kozlowski wrote:As stated in my first post:
log4j.rootLogger= DEBUG, stdout, logfile
#Package log levels
log4j.logger.org.apache=WARN
log4j.logger.org.springframework=WARN
log4j.logger.com.amgen.reportingsuite=DEBUG
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=//C:/mobileclient/logs/ReportingSuite.log
log4j.appender.logfile.MaxFileSize=512KB
# Keep three backup files.
log4j.appender.logfile.MaxBackupIndex=3
# Pattern to output: date priority [category] - message
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
Cheers, Martijn,
Twitter.