[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch master updated. v_1.0.2-2-g8b06429

Gitbot git-noreply at pixie.qos.ch
Wed May 2 10:46:41 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  8b064299b7d22094542777b0617290e3e4625850 (commit)
      from  038fae3832917a45353459ce4e2eafaa4bd4d315 (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=8b064299b7d22094542777b0617290e3e4625850
http://github.com/ceki/logback/commit/8b064299b7d22094542777b0617290e3e4625850

commit 8b064299b7d22094542777b0617290e3e4625850
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Wed May 2 10:45:40 2012 +0200

    add blurb about outputPatternAsPresentationHeader option

diff --git a/logback-site/src/site/pages/manual/encoders.html b/logback-site/src/site/pages/manual/encoders.html
index ecd1000..5e95765 100644
--- a/logback-site/src/site/pages/manual/encoders.html
+++ b/logback-site/src/site/pages/manual/encoders.html
@@ -177,7 +177,7 @@ public class LayoutWrappingEncoder<E> extends EncoderBase<E> {
     instances of <code>PatternLayout</code>.
     </p>
 
-    <p>As of logback version 9.9.19, whenever a
+    <p>As of logback version 0.9.19, whenever a
     <code>FileAppender</code> or one of its sub-classes was configured
     with a <code>PatternLayout</code>, a
     <code>PatternLayoutEncoder</code> must be used instead. This is
diff --git a/logback-site/src/site/pages/news.html b/logback-site/src/site/pages/news.html
index 7d9d0f4..86f640d 100644
--- a/logback-site/src/site/pages/news.html
+++ b/logback-site/src/site/pages/news.html
@@ -52,6 +52,18 @@
      <p>The line starting with "#logback.classic pattern" is newly
      inserted pattern line.</p>
 
+     <p>If you wish to disable printing this line, set the
+     <span class="option">outputPatternAsPresentationHeader</span> option to false for the
+     relevant encoder. Here is an example:</p>
+
+<pre><appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+  <encoder>
+    <pattern>%d %-5level [%thread] %logger{0}: %msg%n</pattern>
+   <b><-- do not print pattern as a header --></b>
+   <b><outputPatternAsPresentationHeader>false</outputPatternAsPresentationHeader></b>
+  </encoder>
+</appender> </pre>
+
     </div>
     
     <p><code>ReconfigureOnChangeFilter</code> will avoid excessive

-----------------------------------------------------------------------

Summary of changes:
 logback-site/src/site/pages/manual/encoders.html |    2 +-
 logback-site/src/site/pages/news.html            |   12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Logback: the generic, reliable, fast and flexible logging framework.


More information about the logback-dev mailing list