Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1948

Trim levels read from properties file to remove trailing spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.8.2
    • 2.9.0
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: