Hi,
I would like to have my Debug and Info messages into Debug.log and Info.log
respectively, this works fine, but now i would like to have it in the log files
with the format- -MM-dd-Debug.log and -MM-dd-Info.log respectively.
how do i go about it???
Any help would be greatly
in log4j1.3, i do something like this to put the date in the filename
appender name=myAppender
class=org.apache.log4j.rolling.RollingFileAppender
param name=Threshold value=DEBUG/
rollingPolicy class=org.apache.log4j.rolling.TimeBasedRollingPolicy
param name=FileNamePattern
Create a new appender. I wrote a 1.2 appender that can do that. 1.3
may be able to do this.
On 5/11/06, Kailash KN [EMAIL PROTECTED] wrote:
Hi,
I would like to have my Debug and Info messages into Debug.log and Info.log
respectively, this works fine, but now i would like to have it in the
@logging.apache.org
Sent: Thursday, May 11, 2006 7:23 PM
Subject: Re: Stuck with file format!!!
in log4j1.3, i do something like this to put the date in the filename
appender name=myAppender
class=org.apache.log4j.rolling.RollingFileAppender
param name=Threshold value=DEBUG/
rollingPolicy