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 "Thomas Papke (JIRA)" <ji...@apache.org> on 2016/03/23 08:02:25 UTC

[jira] [Created] (LOG4J2-1327) JMX setting for ConfigLocationUri are rewriten after change to a invalid Path

Thomas Papke created LOG4J2-1327:
------------------------------------

             Summary: JMX setting for ConfigLocationUri are rewriten after change to a invalid Path
                 Key: LOG4J2-1327
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1327
             Project: Log4j 2
          Issue Type: Bug
          Components: JMX
    Affects Versions: 2.5
            Reporter: Thomas Papke


The ConfigLocationUri is editable in the Mbean, but the behavior is a bit strange. If I type in the correct location e.g. {{file:/opt/tomcat /apache-tomcat/conf/log4j2.xml}} it correctly (re-)load the file once. But afterwards the “ConfigLocationUri” has automatically changed to {{file:/opt/tomcat/apache-tomcat/bin/file:/opt/tomcat/apache-tomcat/conf/log4j2.xml}} which is no longer a valid path. So it seems to log4j prefixes {{file:/opt/tomcat/apache-tomcat/bin/}} (this folder is the root folder where tomcat was started from) to my input, which is no longer a valid path.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org