You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Kevin Steppe <ks...@pacbell.net> on 2002/03/25 20:38:58 UTC

Re: DailyFileAppender question

This is probably better for the User list...

1) I created a CompositeRollingFileAppender sometime back which a few
people use.  The code is attached along with a couple example config
files.
2) To my knowledge none of the rolling appenders can do this.  You are
welcome to modify code...

Kevin


"madrignani@libero.it" wrote:

> hi all,
> can anyone tell me
> * if there is a way of using the DailyFileAppender class forcing the
> system to rename the log file both when the date changes AND when a
> specified maxFileSize has been reached?
> * where I should affect to set the final logfilename as
> DATE_fileName.log?
>
> thx in advance
>
> laura