This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic