[
https://issues.apache.org/jira/browse/LOG4J2-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ralph Goers resolved LOG4J2-266.
--------------------------------
Resolution: Not A Problem
Specify ${sys:webApplicationDirectory} in your configuration.
> Support system properties resolution in filename
> ------------------------------------------------
>
> Key: LOG4J2-266
> URL: https://issues.apache.org/jira/browse/LOG4J2-266
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-beta6
> Reporter: Thomas Andraschko
> Priority: Minor
>
> I created an own ServletContextListener which sets a system property
> "${webAppplicationDirectory}".
> I would like to use it like this:
> <RollingFile name="RootRollingFileAppender"
> fileName="${webApplicationDirectory}/root.log"...
> AFAIR log4j 1 had no problems with this but it does not work in log4j 2.
> Would it also be possible to integrate such an webAppDir support directly in
> log4j?
--
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: [email protected]
For additional commands, e-mail: [email protected]