Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4558

Comparing log configuration values do not correctly compare null values

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            jperkins-rhn James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: