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

Allow specifying time zone in TimeBasedRollingPolicy's fileNamePattern

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.1.3
    • None
    • logback-classic
    • None

    Description

      I would like to have one of my application's logs use GMT for archive file names. The layout pattern currently supports specifying a time zone (documented under the conversion word 'd' http://logback.qos.ch/manual/layouts.html#conversionWord), but this is not supported when using the %d option with TimeBasedRollingPolicy (http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy) for file naming.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            washley William Ashley
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: