Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-192

${env:...} is not replaced in fileName

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta4, 2.0-beta5
    • Fix Version/s: 2.0-beta6
    • Component/s: None
    • Labels:
      None

      Description

      The variable ${env:...} is not replaced in the fileName attribute in RollingFileAppender whereas it is replaced in the attribute filePattern correctly.

        Attachments

        1. log4j2.xml
          0.6 kB
          Kurt Lehrke
        2. TestEnvVar.java
          1 kB
          Kurt Lehrke
        3. log4j2.xml
          0.5 kB
          Tom Hegermann
        4. created_file.png
          11 kB
          Tom Hegermann

          Issue Links

            Activity

              People

              • Assignee:
                ralph.goers@dslextreme.com Ralph Goers
                Reporter:
                tomheg Tom Hegermann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: