[ https://issues.apache.org/jira/browse/LOG4J2-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13638224#comment-13638224 ]
Kurt Lehrke commented on LOG4J2-192: ------------------------------------ Ralph, I tried it again with your suggestion and I didn't have any luck. I updated to trunk (i was on beta5), and tried it again. This time, I do not get an exception, but the file/log isn't created. I've double checked the location by resolving the location myself to ensure I was looking in the right spot. > ${env:...} is not replaced in fileName > -------------------------------------- > > Key: LOG4J2-192 > URL: https://issues.apache.org/jira/browse/LOG4J2-192 > Project: Log4j 2 > Issue Type: Bug > Affects Versions: 2.0-beta4 > Reporter: Tom Hegermann > Priority: Minor > Attachments: created_file.png, log4j2.xml, log4j2.xml, TestEnvVar.java > > > The variable ${env:...} is not replaced in the fileName attribute in > RollingFileAppender whereas it is replaced in the attribute filePattern > correctly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org