You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/06/20 02:54:00 UTC
[jira] [Closed] (LOG4J2-1948) Trim levels read from properties file
to remove trailing spaces
[ https://issues.apache.org/jira/browse/LOG4J2-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory closed LOG4J2-1948.
--------------------------------
Resolution: Fixed
In Git master.
> Trim levels read from properties file to remove trailing spaces
> ---------------------------------------------------------------
>
> Key: LOG4J2-1948
> URL: https://issues.apache.org/jira/browse/LOG4J2-1948
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.8.2
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 2.9
>
>
> See https://github.com/apache/logging-log4j2/pull/75
> trim levels after reading them from properties and before initializing any loggers.
> If the level in a properties file contains a trailing space log4j2 won't initialize the logger correctly. In Effect the logger for whicht the level is defined will keep the inherited loglevel.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)