logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijay Pawnarkar <vijaypawnar...@gmail.com>
Subject missing generation file
Date Thu, 16 Feb 2012 20:31:08 GMT
We are experiencing missing generations for log files. Generation
files appears to be created randomly, sometime it create apptest.log.5
other times apptest.log3 but not in order.
Is there anything wrong with this configuration. This is running in websphere.

log4j.debug=true
log4j.rootLogger=DEBUG, A2
log4j.appender.A1=org.apache.log4j.ConsoleAppender
log4j.appender.A1.layout=org.apache.log4j.PatternLayout
log4j.appender.A1.layout.ConversionPattern=%-5p USER_ID - %X{user_id}
%d [%t] - %m%n
log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.File=e:\\logs\\apptest.log
log4j.appender.A2.MaxFileSize=50MB
log4j.appender.A2.MaxBackupIndex=10
log4j.appender.A2=org.apache.log4j.RollingFileAppender
log4j.appender.A2.Append=false
log4j.appender.A2.layout=org.apache.log4j.PatternLayout
log4j.appender.A2.layout.ConversionPattern=%-5p USER_ID - %X{user_id}
%d [%t] - %m%n


Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message