Hi,
In order to encourage other people to help, I'll say that you're not the
only one...

My properties file looks the same except for:
log4.appender.LOG.DatePattern='.'yyyy-MM-dd-a
(Try this one, maybe ??)

The rolling used to work, however, these days It just DELETES the previous
log file and creates a new
one for the new day (although, my tomcat 3.3.1 is active all day & night),
thus all logging is lost..


-----Original Message-----
From: Chimbu Thankachan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 12:05 PM
To: Log4J Users List
Subject: The roll over option for log file is not working


Hi

The roll over option for log file is not working. I am
enclosing the relevant lines of log4j.properties file
which I am using. Let me know where I have gone wrong

regards
chimbu

log4j.appender.Default=org.apache.log4j.DailyRollingFileAppender
log4j.appender.Default.file=D:\\b2bes\\software\\iPlanet\\docs\\logs\\log4j.
log
log4j.appender.Default.DatePattern='.'yyyy-MM-dd-HH
log4j.appender.Default.layout=org.apache.log4j.PatternLayout
log4j.appender.Default.layout.ConversionPattern=%d{dd
MMM yy HH:mm:ss} - %5p - %c.class - %L - %M() - %m%n
log4j.appender.Default.append=true

________________________________________________________________________
For live cricket scores download  Yahoo! Score Tracker
 at: http://in.sports.yahoo.com/cricket/tracker.html

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to