logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1363) includeLocation doesn't work when using PropertiesConfiguration
Date Wed, 13 Apr 2016 06:14:25 GMT

    [ 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


Mime
View raw message