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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta4, 2.0-beta5
    • 2.0-beta6
    • None
    • 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. TestEnvVar.java
          1 kB
          Kurt Lehrke
        2. log4j2.xml
          0.6 kB
          Kurt Lehrke
        3. log4j2.xml
          0.5 kB
          Tom Hegermann
        4. created_file.png
          11 kB
          Tom Hegermann

        Issue Links

          Activity

            People

              rgoers Ralph Goers
              tomheg Tom Hegermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: