I am also facing the same problem. I have set for hourly rolling but it
doesn't happen. It happens only when I stop my application and again starts
it. At that time it rolls the old file and creates a new file. Is that
rolling appender is supposed to do.

-----Original Message-----
From: Shawn Wilson [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 03, 2002 2:47 PM
To: Log4J Users List
Subject: RE: DailyRollingFileAppender does not create backup file


Well, I'm glad to see that someone else is having the same problem I am.
Though I have my DailyRollingFileAppender set to backup once a day and it's
running under Tomcat. Sometimes it'll work for a few days and then just stop
rolling the logs. I can't figure it out. Let me know if you figure out
what's causing the problem.

-shawn

====================================
Shawn Wilson [[EMAIL PROTECTED]]
Software Developer, ATMReports.com
PH: 877-327-0873, FAX: 406-294-5806 ====================================


> -----Original Message-----
> From: Schmied Alexander [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 03, 2002 1:12 AM
> To: '[EMAIL PROTECTED]'
> Subject: DailyRollingFileAppender does not create backup file
>
>
> i'm using Log4j with DailyRollingFileAppender and for testing i've 
> configured the appender to roll every minute. the problem is, that the 
> debug-output of Log4j logs that the file will be renamed and no error 
> occured, but there are no backup files in the directory. Here the 
> debug-output of Log4j:
>
> log4j: c:/log/rel33/Log4j/test.log -> 
> c:/log/rel33/Log4j/test.log.2002-09-03-08-49
> log4j: setFile called: c:/log/rel33/Log4j/test.log, false
> log4j: setFile ended
>
> The file test.log exists in the directory and is empty after every 
> minute but the file test.log.2002-09-03-08-49 is never created. What 
> can be the problem here?
>
> Thanks, Alex.
>
>
> --
> 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]>


"The information in this e-mail, and any attachment therein, is 
confidential and for use by the addressee only. If you are not the 
intended recipient, please return the e-mail to the sender and delete 
it from your computer. Although The Bank of New York attempts to 
sweep e-mail and attachments for viruses, it does not guarantee that 
either are virus-free and accepts no liability for any damage sustained 
as a result of viruses." 


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

Reply via email to