The problem might be that the standard output and standard error stream is
also writing to the same file.
Due to this the DailyRollingFileAppender might not be able to do the rolling
as other streams are also opened to the same file.

-----Original Message-----
From: neeraj_katariya [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 12:04 AM
To: Log4J Users List
Subject: DailyRollingFileAppender 


Hi All!
I am using daily rolling file.
But if I append my standard output and standard error stream also to the
same file, It doesn't archives the old file next day, instead flushes it out
and starts logging in the same file from start.

Is there a way to append standard output and error stream to the file and
achieve rollover at the same time? Thanks Neeraj


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