Gary Gregory created LOG4J2-1948:
------------------------------------

             Summary: 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)

Reply via email to