The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Haufe, Toni
 |
| 02/19/2009 12:55 PM |
|
Hi all,
I configured log4net using a RollingFileAppender that rolls the log file on a daily basis. So I've tried to use rollingStyle=Date. (Or Composite). But that keeps me at least 1 file a day.
How can I configure log4net to keep only log files of the last 5 days? (Older log files should be deleted like using "rollingStyle=Size" and maxSizeRollBackups = 5)
Is there a way to achieve that?
Thanks in advance,
Toni |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|