[jboss-jira] [JBoss JIRA] (WFCORE-4558) Comparing log configuration values do not correctly compare null values

James Perkins (Jira) issues at jboss.org
Wed Jul 3 12:20:00 EDT 2019


James Perkins created WFCORE-4558:
-------------------------------------

             Summary: Comparing log configuration values do not correctly compare null values
                 Key: WFCORE-4558
                 URL: https://issues.jboss.org/browse/WFCORE-4558
             Project: WildFly Core
          Issue Type: Bug
          Components: Logging
            Reporter: James Perkins
            Assignee: James Perkins


During the boot of the logging subsystem values from the configuration are compared against the values from the model to determine if a change to the configuration is needed. When getting the configuration value it is wrapped with a {{String.valueOf()}} which for {{null}} values returns {{"null"}}. This fails the comparison and results in the configuration being overwritten. For something like a handler this means log messages could be lost if {{rotate-on-boot}} is set to {{true}} or {{append}} is set to {{false}}.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list