RollingFileAppender rfa = new ...;
rfa.setMaximumFileSize(Long.MAX_VALUE);

I guess 2^63 - 1 bytes is enough? ;)


> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 23. Juli 2002 17:37
> An: Log4J Users List
> Betreff: Re: AW: Limit for files created
> 
> 
> 
> RollingFileAppender creates new logs when a size limit is 
> reached.  I want
> to keep writing to the file regardless of size for the whole 
> day, hence the
> use of DailyRollingFileAppender.
> 

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

Reply via email to