[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch master updated. v_1.0.2-12-g0a41424
Gitbot
git-noreply at pixie.qos.ch
Fri May 4 00:29:53 CEST 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Logback: the generic, reliable, fast and flexible logging framework.".
The branch, master has been updated
via 0a414247cfd3c6a04f241f89fc8fc7382be40e35 (commit)
via 44525ee9b121f5856f1e28c94d533d2f36bfe709 (commit)
from 56add24c8e14fe96b7597d18820b7b20c4537acb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=0a414247cfd3c6a04f241f89fc8fc7382be40e35
http://github.com/ceki/logback/commit/0a414247cfd3c6a04f241f89fc8fc7382be40e35
commit 0a414247cfd3c6a04f241f89fc8fc7382be40e35
Author: Ceki Gulcu <ceki at qos.ch>
Date: Fri May 4 00:29:09 2012 +0200
added blurb about LBCLASSIC-323
diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index 70c8002..a2ad6ee 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -41,7 +41,6 @@
href="http://jira.qos.ch/browse/LBCORE-243">LBCORE-243</a>.
</p>
-
<p>In order to facilitate parsing of log files, logback can now <a
href="manual/encoders.html#outputPatternAsHeader">output the
pattern</a> used for the log output at the top of log files as a
@@ -49,6 +48,16 @@
href="http://jira.qos.ch/browse/LBCORE-234">LBCORE-234</a>.
</p>
+ <p><code>SMTPAppender</code> failed to transmit messages under JDK
+ 1.5. After some investigation, Dave dicovered that this was due to
+ setting the <code>corePoolSize</code> parameter of the relavant
+ <code>ThreadPoolExecutor</code> to 0. Setting
+ <code>corePoolSize</code> to a higher value, e.g. 1, under JDK 1.5
+ solves the problem and fixes <a
+ href="http://jira.qos.ch/browse/LBCLASSIC-323">LBCLASSIC-323</a>
+ reported by Lutz Huehnken.
+ </p>
+
<p><code>LevelChangePropagator</code> now retains references to
j.u.l. loggers whose level it sets. This fixes garbage collection
issues reported in <a
http://git.qos.ch/gitweb/?p=logback.git;a=commit;h=44525ee9b121f5856f1e28c94d533d2f36bfe709
http://github.com/ceki/logback/commit/44525ee9b121f5856f1e28c94d533d2f36bfe709
commit 44525ee9b121f5856f1e28c94d533d2f36bfe709
Author: Ceki Gulcu <ceki at qos.ch>
Date: Fri May 4 00:19:24 2012 +0200
minor edit
diff --git a/logback-core/src/main/java/ch/qos/logback/core/ContextBase.java b/logback-core/src/main/java/ch/qos/logback/core/ContextBase.java
index e274179..c22795e 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/ContextBase.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/ContextBase.java
@@ -36,6 +36,8 @@ public class ContextBase implements Context {
Object configurationLock = new Object();
+ // CORE_POOL_SIZE must be 1 for JDK 1.5. For JD 1.6 or higher it's set to 0
+ // so that there are no idle threads
private static final int CORE_POOL_SIZE = EnvUtil.isJDK5() ? 1 : 0;
// 0 (JDK 1,6+) or 1 (JDK 1.5) idle threads, 2 maximum threads, no idle waiting
-----------------------------------------------------------------------
Summary of changes:
.../main/java/ch/qos/logback/core/ContextBase.java | 2 ++
logback-site/src/site/pages/news.html | 11 ++++++++++-
2 files changed, 12 insertions(+), 1 deletions(-)
hooks/post-receive
--
Logback: the generic, reliable, fast and flexible logging framework.
More information about the logback-dev
mailing list