I know Thomas. But its not happening at all. When I restart the application
onlt at that time it rolls the file.

-----Original Message-----
From: Thomas Muller [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 04, 2002 6:29 AM
To: Log4J Users List
Subject: RE: DailyRollingFileAppender does not create backup file


Keep in mind that the DailyRollingFileAppender is not supposed to roll over
exactly at the time specified, merely at the first log-event that occurrs
after that time is passed. The reason is simply that the rollover is handled
in the same thread as the logging occurrs.

--

Thomas


| -----Original Message-----
| From: Bhangale, Bhushan [mailto:[EMAIL PROTECTED]]
| Sent: 03 September 2002 21:22
| To: 'Log4J Users List'
| Subject: RE: DailyRollingFileAppender does not create backup file
|
|
| 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]>




*************************************************************************
Copyright ERA Technology Ltd. 2002. (www.era.co.uk). All rights reserved. 
The information supplied in this email should be treated in confidence. No
liability whatsoever is accepted for any loss or damage 
suffered as a result of accessing this message or any attachments.

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

--
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