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

Detect collisions in time date format in FileNamePattern

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.6
    • 1.1.5
    • logback-core
    • 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 autumnwind10 in LOGBACK-992

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: