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

Root Logger level can be reset unexpectedly

XMLWordPrintable

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

      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".

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

              Created:
              Updated:
              Resolved: