I assume that you are running on a Unix or variant and not a Windows box. The behavior is consistent with the appenders opening on the existing file, the rename occurring but the appenders continuing to write the old file handles. Might happen if you have independent instances of log4j.


On Jun 8, 2005, at 3:09 AM, Fabrizio Squittieri wrote:


Not exactly sorry,
On 6/07 when it restarts it makes log.txt.07062005 and writes to this and DO NOT writes on log.txt
Sorry for my english...
FS
-----Messaggio originale-----
Da: James Stauffer [mailto:[EMAIL PROTECTED]
Inviato: marted� 7 giugno 2005 15.41
A: Log4J Users List
Oggetto: Re: DailyRollingFileAppender rolls but...

Is the following what are your trying to say?

On 6/07 when it restarts it makes log.txt.07062005 but still writes logs to log.txt.

On 6/7/05, Fabrizio Squittieri <[EMAIL PROTECTED]> wrote:


Hi there,
I'm reporting a weird thing:
every morning the server on which i've got log4j (v1.2.8) installed
reboot at 7.22 AM.
Now, when it boots up again, Tomcat comes up and log4j rolls log.txt
to log.txt.DDMMYYYY correctly but up to the next Tomcat restart every
application still log on the rolled file and not on the new one, and
i loose log statements of yesterday.
I hope someone could help me...
Thanks

Fabrizio Squittieri - Programmatore

Sistema informativo - Comune di Prato
Via Cairoli 16 - Prato
[EMAIL PROTECTED]










--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

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


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






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

Reply via email to