[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v0.9.18-81-gfd195dc
added by portage for gitosis-gentoo
git-noreply at pixie.qos.ch
Tue Mar 16 22:56:20 CET 2010
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 fd195dcaa9d37ecc26fe243c950f126c832cfe9a (commit)
from 36d3641c8af6d0174aec0bb4ce2d2ff446a85342 (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=fd195dcaa9d37ecc26fe243c950f126c832cfe9a
http://github.com/ceki/logback/commit/fd195dcaa9d37ecc26fe243c950f126c832cfe9a
commit fd195dcaa9d37ecc26fe243c950f126c832cfe9a
Author: Ceki Gulcu <ceki at qos.ch>
Date: Tue Mar 16 22:55:14 2010 +0100
Fixed LBCLASSIC-194
diff --git a/logback-core/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java b/logback-core/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java
index b2be4b5..4b99245 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/net/SMTPAppenderBase.java
@@ -423,7 +423,7 @@ public abstract class SMTPAppenderBase<E> extends AppenderBase<E> {
* @see #setCharsetEncoding(String)
* @return the charset encoding value
*/
- String getCharsetEncoding() {
+ public String getCharsetEncoding() {
return charsetEncoding;
}
@@ -433,7 +433,7 @@ public abstract class SMTPAppenderBase<E> extends AppenderBase<E> {
*
* @param charsetEncoding
*/
- void setCharsetEncoding(String charsetEncoding) {
+ public void setCharsetEncoding(String charsetEncoding) {
this.charsetEncoding = charsetEncoding;
}
diff --git a/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java b/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java
index 6850ca4..475451a 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/net/SocketAppenderBase.java
@@ -158,7 +158,6 @@ public abstract class SocketAppenderBase<E> extends AppenderBase<E> {
postProcessEvent(event);
Serializable serEvent = getPST().transform(event);
oos.writeObject(serEvent);
- // addInfo("=========Flushing.");
oos.flush();
if (++counter >= CoreConstants.OOS_RESET_FREQUENCY) {
counter = 0;
diff --git a/logback-examples/src/main/java/chapters/appenders/mail/EMail.java b/logback-examples/src/main/java/chapters/appenders/mail/EMail.java
index 7c9ce34..a991f7f 100644
--- a/logback-examples/src/main/java/chapters/appenders/mail/EMail.java
+++ b/logback-examples/src/main/java/chapters/appenders/mail/EMail.java
@@ -20,8 +20,6 @@ import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.joran.JoranConfigurator;
import ch.qos.logback.core.util.StatusPrinter;
-
-
/**
* This application generates log messages in numbers specified by the
* user.
@@ -35,6 +33,7 @@ public class EMail {
int runLength = Integer.parseInt(args[0]);
String configFile = args[1];
+
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
JoranConfigurator configurator = new JoranConfigurator();
lc.reset();
diff --git a/logback-site/src/site/pages/manual/appenders.html b/logback-site/src/site/pages/manual/appenders.html
index 1b1c8ef..b6ab67e 100644
--- a/logback-site/src/site/pages/manual/appenders.html
+++ b/logback-site/src/site/pages/manual/appenders.html
@@ -2326,7 +2326,7 @@ Context ctx = new InitialContext(env);</pre>
configuration file, execute the following command:
</p>
-<div class="source"><pre>java chapters.appenders.mail.EMail 300 src/main/java/chapters/appenders/mail/mail.xml</pre></div>
+<div class="source"><pre>java chapters.appenders.mail.EMail 300 src/main/java/chapters/appenders/mail/mail1.xml</pre></div>
<p>The recipient you specified should receive an email message
containing 300 logging events formatted by
diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index fa1ef89..7a7be5a 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -68,6 +68,12 @@
after the connection to the server is re-established.
</p>
+ <p>Fixed <a
+ href="http://jira.qos.ch/browse/LBCLASSIC-193">LBCLASSIC-193</a>. <code>SyslogAppender</code>
+ will no longer shutdown when messages over 256Kb cause an
+ <code>IOException</code>.
+ </p>
+
<p>Added <a
href="manual/appenders.html#OnMarkerEvaluator">OnMarkerEvaluator</a>
which evaluates to true in the presence of user-specified
@@ -97,6 +103,12 @@
no longer treats parenthesis as special.
</p>
+ <p>The <span class="option">CharsetEncoder</span> property in
+ <code>SMTPAppender</code> can now be accessed and set from
+ configuration files. This fixes <a
+ href="http://jira.qos.ch/browse/LBCLASSIC-194">LBCLASSIC-194</a>.
+ </p>
+
<hr width="80%" align="center" />
<h3>3rd of December 2009 - Release of version 0.9.18</h3>
-----------------------------------------------------------------------
Summary of changes:
.../ch/qos/logback/core/net/SMTPAppenderBase.java | 4 ++--
.../qos/logback/core/net/SocketAppenderBase.java | 1 -
.../main/java/chapters/appenders/mail/EMail.java | 3 +--
logback-site/src/site/pages/manual/appenders.html | 2 +-
logback-site/src/site/pages/news.html | 12 ++++++++++++
5 files changed, 16 insertions(+), 6 deletions(-)
hooks/post-receive
--
Logback: the generic, reliable, fast and flexible logging framework.
More information about the logback-dev
mailing list