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

Allow configuration of timezone with file name pattern

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None
    • Any

    Description

      <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
      <FileNamePattern>/usr/local/neil/logs/msa-mdn-%i-%d

      {yyyyMMdd-HHmmss}

      .log</FileNamePattern> <MinIndex>1</MinIndex>
      <MaxIndex>5</MaxIndex>
      </rollingPolicy>

      In this case the filename pattern %d it would be nice to allow configuration of timezone somehow in the pattern.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            neillott Neil Lott
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: