Skip to content

Commit

Permalink
[FIXED JENKINS-16952] Not all log messages were being captured at /lo…
Browse files Browse the repository at this point in the history
…g/all.
  • Loading branch information
jglick committed Feb 25, 2013
1 parent e839472 commit 3a0126f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.html
Expand Up @@ -55,6 +55,9 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=bug>
Not all log messages were being captured at <code>/log/all</code>.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16952">issue 16952</a>)
<li class=bug>
Incorrect or missing XML encoding declaration on some REST API pages.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16881">issue 16881</a>)
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/WebAppMain.java
Expand Up @@ -251,8 +251,7 @@ public static void installExpressionFactory(ServletContextEvent event) {
@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 */
Expand Down

0 comments on commit 3a0126f

Please sign in to comment.