File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Log size and backup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log size and backup" Watch "Log size and backup" New topic

Log size and backup

Sudhakar Rao
Ranch Hand

Joined: May 21, 2005
Posts: 36
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
subject: Log size and backup
Similar Threads
log4j problem: Multiple RollingFileAppender in an application
log4j vs J2SE1.4 log
Strange Log4j problem. Help wanted.
log4j & log4j.xml
[log4j] DailyRollingFileAppender