log4j Rolling + Date FileAppender

P

PT

Quick question for those of you with knowledge of log4j.

I would like combine the capabilities of the RollingFileAppender and
the DailyRollingFileAppender.
Basically, I want the log to roll over once a day but only keep the
last 7 days. The size of the log will differ significantly day to day
so using just the RollingFileAppender won't work.
Also, I do not want to modify the code if at all possible...I just
don't have time to deal with it.

Any ideas?

Thanks,
Preston
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top