Skip to content

Commit

Permalink
[JENKINS-16952] contextDestroyed needs to be changed to match.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jun 10, 2013
1 parent 3238d63 commit e66a948
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/WebAppMain.java
Expand Up @@ -341,8 +341,7 @@ public void contextDestroyed(ServletContextEvent event) {

// Logger is in the system classloader, so if we don't do this
// the whole web app will never be undepoyed.
Logger.getLogger("hudson").removeHandler(handler);
Logger.getLogger("jenkins").removeHandler(handler);
Logger.getLogger("").removeHandler(handler);
}

private static final Logger LOGGER = Logger.getLogger(WebAppMain.class.getName());
Expand Down

0 comments on commit e66a948

Please sign in to comment.