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
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
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
3 matches
Mail list logo