You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Konstantinos Liakos (Jira)" <ji...@apache.org> on 2021/12/19 17:00:00 UTC

[jira] [Created] (LOG4J2-3258) RollingFile fileName containing variables does not work on 2.17.0

Konstantinos Liakos created LOG4J2-3258:
-------------------------------------------

             Summary: RollingFile fileName containing variables does not work on 2.17.0
                 Key: LOG4J2-3258
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3258
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.17.0
         Environment: Java 17, Ubuntu 20.04.
            Reporter: Konstantinos Liakos


A configuration like the below has stopped working since 2.17.0. The variables that originate from <Properties> are not resolved.

 
{code:java}
<RollingFile name="Rolling-${ctx:logFile}" fileName="${logs_dir}/${ctx:logFile}"{code}
 

Works fine on 2.16.0.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)