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

Trim levels read from properties file to remove trailing spaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9.0
    • Component/s: Core
    • Labels:
      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.

        Activity

        Hide
        garydgregory Gary Gregory added a comment -

        In Git master.

        Show
        garydgregory Gary Gregory added a comment - In Git master.

          People

          • Assignee:
            garydgregory Gary Gregory
            Reporter:
            garydgregory Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development