A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Log size and backup
Joined: May 21, 2005
Jul 21, 2006 01:25:00
When I look at the log4j rolling appender, it seems that file name is does not have time stamp and will have maximum of <x>-defined number of rolling files.
While the Daily Rolling File Appender, has one file for a day and does is not file size based.
Both the above does not seem to meet our requirements. That is size based, unlimited number of files, file names are date+time stamped.
I want my log file should have time stamped and size based and one file for a day
Is it Possible?
Thanks in Advance
I agree. Here's the link:
subject: Log size and backup
Strange Log4j problem. Help wanted.
log4j problem: Multiple RollingFileAppender in an application
log4j vs J2SE1.4 log
log4j & log4j.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015