Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4201

Deleting a logger does not restore the loggin configuration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Steps to reproduce:
      1. go to http://server/hudson/log/new
      2. create logger aaa
      3. in http://server/hudson/log/aaa/configure, add a logger (for instance:
      hudon, FINEST)
      4. on http://server/hudson/log/aaa/ observe in awe the logging statement
      5. delete the logger on http://server/hudson/log/aaa/delete

      Expected result:
      1. the modification introduced by the aaa logger to j.u.l configuration are
      reverted

      Obtained result:
      1. The logging screen is removed, but the j.u.l configuration is left untouched

      Workaround:
      1. before deleting a logger, change all the logging levels to what they should
      have been without this hudson logger, then save, then delete

          [JENKINS-4201] Deleting a logger does not restore the loggin configuration

          kame added a comment -

          Oups, the workaround doesn't work ^^;

          kame added a comment - Oups, the workaround doesn't work ^^;

          Alan Harder added a comment -

          started

          Alan Harder added a comment - started

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/java/hudson/logging/LogRecorder.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=20767
          Log:
          [FIXED JENKINS-4201] Revert logger settings when a log recorder is deleted.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/java/hudson/logging/LogRecorder.java http://fisheye4.cenqua.com/changelog/hudson/?cs=20767 Log: [FIXED JENKINS-4201] Revert logger settings when a log recorder is deleted.

            mindless Alan Harder
            kame kame
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: