You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "gaurav (JIRA)" <ji...@apache.org> on 2019/06/07 06:02:00 UTC

[jira] [Created] (LOG4J2-2627) ${log4j:configParentLocation} not working in Jboss eap 7

gaurav created LOG4J2-2627:
------------------------------

             Summary: ${log4j:configParentLocation} not working in Jboss eap 7
                 Key: LOG4J2-2627
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2627
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.11.0
            Reporter: gaurav


If the log4j2.xml's RollingFileAppender contains the lookup - "${log4j:configParentLocation}"

in fileName/filePattern attribute then,

 

During the deployment in Jboss eap 7, log4j2 throws the error
 * "Unable to create file vfs:/E:/JBOSS_DEPLOYMENT/test.war/WEB-INF/classes/../../logs/test.log
 * java.io.IOException: The filename, directory name, or volume label syntax is incorrect"

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)