Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Other Open Source Projects
Log size and backup
posted 9 years ago
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
It is sorta covered in the
JavaRanch Style Guide
Strange Log4j problem. Help wanted.
log4j problem: Multiple RollingFileAppender in an application
log4j vs J2SE1.4 log
log4j & log4j.xml