Log4j 2
  1. Log4j 2
  2. LOG4J2-507

Space Level numbers by 100 instead of 1

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9
    • Fix Version/s: 2.0-rc1
    • Component/s: API
    • Labels:
      None
    • Environment:

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Gary Gregory
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development