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

Gitbot git-noreply at pixie.qos.ch
Tue Jan 10 17:27:48 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  ff97322d10ca4038cca615d78e34d05c337743ed (commit)
      from  b28303a0dafec47e27f3f5accd9061ab0cefa2a8 (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 -----------------------------------------------------------------

commit ff97322d10ca4038cca615d78e34d05c337743ed
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Tue Jan 10 17:27:30 2012 +0100

    minor edit

diff --git a/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java b/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java
index 9d78f8e..c038354 100644
--- a/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java
+++ b/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java
@@ -92,7 +92,8 @@ public class ReconfigureOnChangeFilter extends TurboFilter {
       return FilterReply.NEUTRAL;
-    // for performance reasons, check for changes every 16 invocations
+    // for performance reasons, skip any type of computation 15 times out of 16.
+    // Only once every 16 calls is the check for elapsed type is performed
     if (((invocationCounter++) & 0xF) != 0xF) {
       return FilterReply.NEUTRAL;


Summary of changes:
 .../classic/turbo/ReconfigureOnChangeFilter.java   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Logback: the generic, reliable, fast and flexible logging framework.

More information about the logback-dev mailing list