File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Log4j configuration question
Joined: Mar 28, 2006
Mar 29, 2006 00:17:00
How I can configure new log file for every day and rolling 90 days log.
Means the logging system should automatically delete log files that is 91 days old..
Joined: Nov 24, 2005
Mar 29, 2006 00:34:00
You could try using a DailyRollingFileAppender to make every day logs.
But to delete old ones after 90 days, you'll need something else...
I don't know if you can configure log4j do it.
(this is the
All roads lead to JavaRanch
Author and ninkuma
Joined: Jan 10, 2002
Mar 29, 2006 08:15:00
Moved to the Other Open Source Forum.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Log4j configuration question
assignment log updates
code or server problem ?
i have passed SCJP1.4 for at least 6 weeks,but ...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015