Re: timestamp in rolled over files

2009-03-03 Thread Mohit Anchlia
Do you have an example of that? I couldn't find it. On Tue, Mar 3, 2009 at 1:09 PM, Simon Park wrote: > You could maybe use the org.apache.log4j.DailyRollingFileAppender to roll by > time only.  You use a pattern compatible with java.text.SimpleDateFormat to > configure the appender's DatePatte

Re: timestamp in rolled over files

2009-03-03 Thread Simon Park
You could maybe use the org.apache.log4j.DailyRollingFileAppender to roll by time only. You use a pattern compatible with java.text.SimpleDateFormat to configure the appender's DatePattern property with the period you want files to roll, e.g. by any one of minute, hour, half-day, day, week, etc

timestamp in rolled over files

2009-03-03 Thread Mohit Anchlia
Is there a way to get the timestamp instead of .1 .2 etc. when a log file is rolled over by log4j? - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache

Log4j AsyncAppender does not log stack trace

2009-03-03 Thread Gunnar.Bostrom
Hi, I use log4j version 1.2.14 and the async appender. It works fine but this morning I noticed a strange behavior. We experienced some (about 10) NullPointerExceptions after midnight This statement: logger.error("RemoteResult caught exception", e); logged the exception and a stack trace as expecte