The only thing I can see is that your A1 appender is not used. So what you see is a potential bug. But for that we should know more about your apps.
Josef -----Ursprüngliche Nachricht----- Von: Vijay Pawnarkar [mailto:[email protected]] Gesendet: Donnerstag, 16. Februar 2012 21:31 An: [email protected] Betreff: missing generation file 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
