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

Detect collisions in time date format in FileNamePattern

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.5
    • Fix Version/s: 1.1.6
    • Component/s: logback-core
    • Labels:
      None

      Description

      Logback should output an error message when the date time pattern in the %d token within the fileNamePattern is not collision free. For example, the fileNamePattern

      myapp-%d\{yyyy-MM-*uu*\}.log.zip}

      will result in the same log archive every day of the week after the first week of the month.

      This issue follows comment by Andrew Wang in LOGBACK-992

        Issue Links

          Activity

          Show
          noreply.ceki@qos.ch Ceki Gulcu added a comment - Fixed in https://github.com/qos-ch/logback/commit/dfa27e0c7cfb0aed8559a3d

            People

            • Assignee:
              noreply.ceki@qos.ch Ceki Gulcu
              Reporter:
              noreply.ceki@qos.ch Ceki Gulcu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: