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

Percentage char in fileNamePattern in FixedWindowRollingPolicy

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: logback-core
    • Labels:
      None

      Description

      I could not use fileNamePattern with the percentage charge in directory name.

      Example:

      <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
         <maxIndex>2</maxIndex>
         <FileNamePattern>dev%fzp/file.log.%i</FileNamePattern>
      </rollingPolicy>
      

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              presidentio Vitaliy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: