logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Dillon <c1dillon+n...@gmail.com>
Subject Re: File Appender in log4j
Date Wed, 22 Nov 2006 12:09:24 GMT
Curt Arnold <carnold <at> apache.org> writes:

> On Nov 21, 2006, at 4:21 PM, ying lcs wrote:
> 
> > Hi,
> >
> > Can you please tell me how can I configure file appender so that it
> > writes to 1 log file per data and have the old one stays?
> >
> > Thank you.
> 
> I guessing that you meant "1 log file per DAY".  If that is your  
> request, you could use a DailyRollingFileAppender ...

Alternatively, if you're looking for one log file per application launch, you
could have a look at http://permalink.gmane.org/gmane.comp.jakarta.log4j.user/14467



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message