Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-367 RollingFileAppender-NG: rewrite the RollingFileAppender
  3. LOG4NET-422

RollingFileAppender: support rolling conditions like "roll if day modulo X == Y"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Appenders
    • None

    Description

      The reimplementation of the RFA could implement this feature that we just received on the users list saying:

      I need to keep 3 days of logging information from my application, which runs
      once per day. For example, if I start with 3 days worth of logging
      information retained:
      CustomerDataTransfer.2014-02-15.txt
      CustomerDataTransfer.2014-02-14.txt
      CustomerDataTransfer.2014-02-13.txt

      When I run the application on Feb 17, I'd like to have these 3 files
      retained
      CustomerDataTransfer.2014-02-17.txt
      CustomerDataTransfer.2014-02-15.txt
      CustomerDataTransfer.2014-02-14.txt

      Attachments

        Activity

          People

            Unassigned Unassigned
            nachbarslumpi Dominik Psenner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: