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

Percentage char in fileNamePattern in FixedWindowRollingPolicy

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.2.1
    • logback-core
    • 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

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

            Dates

              Created:
              Updated: