You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2013/04/08 01:13:18 UTC
[jira] [Commented] (LOG4J2-192) ${env:...} is not replaced in
fileName
[ https://issues.apache.org/jira/browse/LOG4J2-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625046#comment-13625046 ]
Ralph Goers commented on LOG4J2-192:
------------------------------------
Can you provide a test that demonstrates this? I have tests with ${fileName} where it is being replaced with a property defined in the configuration file. I would expect that if the environment variable is defined at the time the configuration file is processed that this should work.
> ${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
>
> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org