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

Deleting a logger does not restore the loggin configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          mindless Alan Harder added a comment -

          started

          Show
          mindless Alan Harder added a comment - started
          Hide
          kame kame added a comment -

          Oups, the workaround doesn't work ^^;

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

            People

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

              Dates

              Created:
              Updated:
              Resolved: