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

Space Level numbers by 100 instead of 1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta9
    • 2.0-rc1
    • API
    • None

    Description

      The enum org.apache.logging.log4j.Level includes an intLevel property. This value was initially spaced by 1 for each level: 0, 1, 2 and so on. This change spaces the int by 100: 0, 100, 200, and so on.

      This breaks binary compatibility (by behavior).

      Ralph's suggestion: https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201401.mbox/%3CD2FB152D-EAB9-4F01-AFE5-838A9AEFF68D@dslextreme.com%3E

      Start of thread: https://mail-archives.apache.org/mod_mbox/logging-log4j-dev/201401.mbox/%3cBD972E2F-C818-47BD-BB9E-168D52D5D980@nicholaswilliams.net%3e

      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: