[logback-dev] [GIT] Logback: the generic, reliable, fast and flexible logging framework. branch, master, updated. v_0.9.24-30-geb27832

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Wed Oct 13 22:30:13 CEST 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  eb27832f17a90b2cb5e27631e8bcec619c573238 (commit)
      from  f0ffd80fe1f4230a9d7fa2d21b64f49738e73a9d (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=eb27832f17a90b2cb5e27631e8bcec619c573238
http://github.com/ceki/logback/commit/eb27832f17a90b2cb5e27631e8bcec619c573238

commit eb27832f17a90b2cb5e27631e8bcec619c573238
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Wed Oct 13 22:28:05 2010 +0200

    - In NestedComplexPropertyIA stopped writing about objects being pushed onto the stack
    - In configuration.html added extra blurb linking to status listeners

diff --git a/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComplexPropertyIA.java b/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComplexPropertyIA.java
index 2f942c2..f012d5f 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComplexPropertyIA.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/joran/action/NestedComplexPropertyIA.java
@@ -126,9 +126,8 @@ public class NestedComplexPropertyIA extends ImplicitAction {
         ((ContextAware) actionData.getNestedComplexProperty())
             .setContext(this.context);
       }
-      // getLogger().debug(
-      addInfo("Pushing component [" + localName
-          + "] on top of the object stack.");
+      //addInfo("Pushing component [" + localName
+      //    + "] on top of the object stack.");
       ec.pushObject(actionData.getNestedComplexProperty());
 
     } catch (Exception oops) {
diff --git a/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java b/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
index 034c720..7fb2385 100644
--- a/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
+++ b/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
@@ -99,6 +99,7 @@ public class FixedWindowRollingPolicy extends RollingPolicyBase {
   }
 
   public void rollover() throws RolloverFailure {
+
     // Inside this method it is guaranteed that the hereto active log file is
     // closed.
     // If maxIndex <= 0, then there is no file renaming to be done.
diff --git a/logback-site/src/site/pages/manual/configuration.html b/logback-site/src/site/pages/manual/configuration.html
index 0d70252..1f40973 100644
--- a/logback-site/src/site/pages/manual/configuration.html
+++ b/logback-site/src/site/pages/manual/configuration.html
@@ -378,6 +378,12 @@ public class Foo {
    printed.
    </p>
 
+   <p>It is highly recommended to register a status listener,
+   e.g. <code>OnConsoleStatusListener</code>, so that problems
+   occuring during the lifetime of your applicaiton, well after
+   logback is initialized, can be reported. See the section on <a
+   href="#statusListener">status listeners</a> further below.</p>
+
    <h3><a name="configFileProperty"
    href="#configFileProperty">Specifying the location of the default
    configuration file as a system property</a></h3>
@@ -614,7 +620,9 @@ public class MyApp3 {
 
    <p>Note that the registered status listener will receive status
    events subsequent to its registration. It will not receive prior
-   messages.</p>
+   messages. Thus, it is usually a good idea to place status listener
+   registration directives at top of the configuration file before
+   other directives.</p>
 
    <p>It is also possible to register one or more status listeners
    within a configuration file. Here is an example.</p>

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

Summary of changes:
 .../core/joran/action/NestedComplexPropertyIA.java |    5 ++---
 .../core/rolling/FixedWindowRollingPolicy.java     |    1 +
 .../src/site/pages/manual/configuration.html       |   10 +++++++++-
 3 files changed, 12 insertions(+), 4 deletions(-)


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


More information about the logback-dev mailing list