[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch master updated. v_1.0.0-76-ga4af39e

Gitbot git-noreply at pixie.qos.ch
Tue Mar 6 23:52:55 CET 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  a4af39ec18f0868a2a1593f25f151dbf14bdd7f4 (commit)
      from  bf9d8c3f25035654d4b164f612a001a6d9422f05 (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=a4af39ec18f0868a2a1593f25f151dbf14bdd7f4
http://github.com/ceki/logback/commit/a4af39ec18f0868a2a1593f25f151dbf14bdd7f4

commit a4af39ec18f0868a2a1593f25f151dbf14bdd7f4
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Tue Mar 6 23:51:55 2012 +0100

    ContextDetachingSCL should be declared first NOT last

diff --git a/logback-site/src/site/pages/manual/loggingSeparation.html b/logback-site/src/site/pages/manual/loggingSeparation.html
index 6372de6..fe1aafb 100644
--- a/logback-site/src/site/pages/manual/loggingSeparation.html
+++ b/logback-site/src/site/pages/manual/loggingSeparation.html
@@ -252,10 +252,15 @@
   <listener-class>ch.qos.logback.classic.selector.servlet.ContextDetachingSCL</listener-class>
 </listener></pre>
 
-    <p><span class="label notice">Note</span> If you have multiple
-    <code>ServletContextListener</code> instances declared in
-    <em>web.xml</em>, then declaring <code>ContextDetachingSCL</code>
-    last usually works best.</p>
+    <p><span class="label notice">Note</span> Most containers invoke
+    the <code>contextInitialized</code> method of listeners in the
+    order in which they are declared but invoke their
+    <code>contextDestroyed</code> method reverse order. It follows
+    that if you have multiple <code>ServletContextListener</code>
+    declarations in your <em>web.xml</em>, then
+    <code>ContextDetachingSCL</code> should be declared <em>first</em>
+    so that its <code>contextDestroyed</code> method is invoked
+    <em>last</em> during application shutdown. </p>
 
     <h3><a name="betterPerf" href="betterPerf">Better
     performance</a></h3>

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

Summary of changes:
 .../src/site/pages/manual/loggingSeparation.html   |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)


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


More information about the logback-dev mailing list