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 "Ralph Goers (JIRA)" <ji...@apache.org> on 2016/04/13 08:14:25 UTC

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

    [ https://issues.apache.org/jira/browse/LOG4J2-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238683#comment-15238683 ] 

Ralph Goers commented on LOG4J2-1363:
-------------------------------------

Thanks. Someone else created an issue for a different problem in the PropertiesConfiguration. I hope to fix both of these for 2.6.



> 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
>            Assignee: Ralph Goers
>              Labels: easyfix
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> 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