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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ceki Ceki Gülcü
                Reporter:
                ceki Ceki Gülcü
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: