I am using log4j for logging. I am working on a huge application and there would be lots of logs each day. Thereby it is requried that the log files be stored and renamed each day. The date is appended to the log file and that day's log file is stored. The logs start writing afresh each day. The problem here is that at times the application simply starts logging to the previous day's log file, for a while, and then starts writing back to the current day's file again. I am not able to figure out what goes wrong and when. The application is running on weblogic. Can anybody please help? The log4j properties file is here
log4j.rootCategory=DEBUG, dest1, dest2, dest3 log4j.appender.dest1=org.apache.log4j.DailyRollingFileAppender log4j.appender.dest1.DatePattern='.'yyyy-MM-dd log4j.appender.dest1.Threshold=info log4j.appender.dest1.File=info.log log4j.appender.dest1.layout=org.apache.log4j.PatternLayout log4j.appender.dest1.layout.ConversionPattern=%d [%t: %C.%M:%L] %p: %m%n .... Thank in advance!!! -- View this message in context: http://www.nabble.com/daily-rolling-log4j-tf4941934.html#a14147145 Sent from the Log4j - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
