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 "turbid1989 (JIRA)" <ji...@apache.org> on 2016/04/13 07:58:25 UTC

[jira] [Created] (LOG4J2-1363) includeLocation doesn't work when using PropertiesConfiguration

turbid1989 created LOG4J2-1363:
----------------------------------

             Summary: includeLocation doesn't work when using PropertiesConfiguration
                 Key: LOG4J2-1363
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1363
             Project: Log4j 2
          Issue Type: Bug
          Components: Configurators
    Affects Versions: 2.5
            Reporter: turbid1989


When using AsyncLoggerContextSelector, the default value of the includeLocation is false. 
This can be changed by setting "includeLocation=true" in the configuration of the relevant loggers.
But it doesn't work when using properties as the configuration, because the method of createRootLogger in PropertiesConfiguration ignores the includeLocation issues which causing no lineNum shows



--
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