This sound like core functionality, It should probably be be included.

Dan

Peter Drier wrote:
why not use any type of standard log file cleaner external to your log4net application.. Or write a routine at startup that checks for files older than xxx days in a specific (log) directory and deletes them.
-Peter

On 12/6/06, *Shireesh Thanneru* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I need to have date based rolling for log files and want to keep
    only the 30 log files (corresponding to the last 30 days). Is that
    possible (with MaxSizeRollBackups or some other way)? If yes,
    please send me the corresponding xml configuration for the
    appender. Based on the RollingFileAppender documentation, it says

"*CAUTION* A maximum number of backup files when rolling on date/time
    boundaries is not supported."
    Is that still true? If yes, what are the other ways of achieving this?

    Thanks in advance.

    Shiressh Thanneru

    ------------------------------------------------------------------------
    Everyone is raving about the all-new Yahoo! Mail beta.
    
<http://us.rd.yahoo.com/evt=45083/*http://advision.webevents.yahoo.com/mailbeta>


Reply via email to