Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026499

Root Logger level can be reset unexpectedly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None

    Description

      If you did something like:

        Logger.getLogger("").setLevel(Level.FINEST);
        new URL("http://www.oracle.com/").openConnection();
        System.out.println("Root level: "+ Logger.getLogger("").getLevel());

      the level printed will be "INFO" instead of "FINEST".

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: