Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Log size and backup

 
Sudhakar Rao
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sudhakar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic