[OT] RE: Dynamic log names

2006-06-15 Thread George.Dinwiddie
[EMAIL PROTECTED] > Sent: Thursday, June 15, 2006 8:53 AM > To: 'Struts Users Mailing List' > Subject: Dynamic log names > > > Hello again all, > > I'm using Log4j 1.2.13 with Struts 1.2.9 on Tomcat 5.5. > I have the logging with Log4j now working properly and

RE: [OT] Re: Dynamic log names

2006-06-15 Thread Darren Hall
Fair enough Dave, my apologies. For those interested - The Log4j documentation doesn't appear to say anything about handling dynamic log names as I've described. The closest thing seems to be the DailyRollingAppender - however it appends the date after the '.log' (i.e. "e

[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

Dynamic log names

2006-06-15 Thread Darren Hall
Hello again all, I'm using Log4j 1.2.13 with Struts 1.2.9 on Tomcat 5.5. I have the logging with Log4j now working properly and outputting log messages properly. 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