Setting append to false also has the unfavourable (IMHO) side effect of
causing the log file to be wiped if you are using the FileWatchdog to
monitor changes to the log configuration and the config is modified.

William


-----Original Message-----
From: RParr [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 12 March 2006 3:44 AM
To: Log4J Users List
Subject: Re: Rollover at restart

Javier Gonzalez wrote:

>Have you tried setting the "Append" option to "false"? IIRC, that
option
>should cause a rollover, irrespective of file size, on application
restart.
>
>  
>
I tried that.  A new file was created but the old one was not "rolled".

R.Parr, Temporal Arts


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