Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-259

Support for crolonog type rolling

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None

    Description

      Add support for cronolog type logging file separation. For example:

      TransferLog "|/usr/sbin/cronolog /web/logs/%Y/%m/%d/access.log"
      ErrorLog "|/usr/sbin/cronolog /web/logs/%Y/%m/%d/errors.log"

      This allows each log file to be separated by year, month, etc.

      See http://cronolog.org/features.html for details.

      Interestingly enough, TimeBasedRollingPolicy already supports this feature. It's just not tested nor documented.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: