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/20 14:08:27 UTC
[jira] [Resolved] (LOG4J2-1363) includeLocation doesn't work when
using PropertiesConfiguration
[ https://issues.apache.org/jira/browse/LOG4J2-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers resolved LOG4J2-1363.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.6
This is now fixed in master. Please verify and close.
> 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
> Fix For: 2.6
>
> 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