[OT] RE: Dynamic log names

2006-06-15 Thread George.Dinwiddie
You could generate files named like event.log.2006-05-03 using the DailyRollingFileAppender. See http://logging.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFi leAppender.html Or you could write your own appender. > -Original Message- > From: Darren Hall [mailto:[EMAIL PROTECTE

RE: [OT] Re: Dynamic log names

2006-06-15 Thread Darren Hall
hanges. For those interested, here's the link - http://minaret.biz/tips/datedFileAppender.html Thanks again, Darren -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, June 15, 2006 9:38 AM To: Struts Users Mailing List Subject: [OT] Re: Dynamic log names

[OT] Re: Dynamic log names

2006-06-15 Thread Dave Newton
Darren Hall wrote: > I have a question about naming log files for my web application. > I'd like to append the date into the name of my log files. Is there a way > that I can generate daily logs with a filename along the lines of > "event.2006-05-03.log" and "error.2006-05-03.log"? > You might