| Author |
Log4j configuration question
|
Thomas Vezhambassery
Greenhorn
Joined: Mar 28, 2006
Posts: 2
|
|
Hi, 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.. Regards, Thomas
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
|
|
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 Servlet forum)
|
[My Blog]
All roads lead to JavaRanch
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
Moved to the Other Open Source Forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: Log4j configuration question
|
|
|