[FIXED JENKINS-16952] Not all log messages were being captured at /log/all.

This commit is contained in:
Jesse Glick committed 2013-02-25 14:13:01 -05:00
1 parent e839472a17
commit 3a0126f780
2 files changed
+4 -2

No files matched your search

+1 -2
View File
@@ -251,8 +251,7 @@ public final class WebAppMain implements ServletContextListener {
@edu.umd.cs.findbugs.annotations.SuppressWarnings("LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE")
private void installLogger() {
Jenkins.logRecords = handler.getView();
Logger.getLogger("hudson").addHandler(handler);
Logger.getLogger("jenkins").addHandler(handler);
Logger.getLogger("").addHandler(handler);
}
/** Add some metadata to a File, allowing to trace setup issues */