Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-502

Logger.setLevel(null) will throw an NPE if the logger in question previously has a non-null level

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.9.9, 0.9.10, 0.9.11, 0.9.12
    • Fix Version/s: 0.9.12
    • Component/s: logback-classic
    • Labels:
      None

      Description

      This bug causes LBCLASSIC-79 as symptom. To reproduce

      Logger logger = LoggerFactory.getLogger("x");
      logger.setLevel(Level.DEBUG)
      logger.setLevel(null); // throws NPE

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ceki Ceki Gülcü
                Reporter:
                ceki Ceki Gülcü
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: