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

added by portage for gitosis-gentoo git-noreply at pixie.qos.ch
Wed Sep 15 23:19:21 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  462e502759c4e1b794d76a5808b378a05db7c86a (commit)
      from  f6a15779f1a3ad1402460772c30c02d409a6e0fa (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=462e502759c4e1b794d76a5808b378a05db7c86a
http://github.com/ceki/logback/commit/462e502759c4e1b794d76a5808b378a05db7c86a

commit 462e502759c4e1b794d76a5808b378a05db7c86a
Author: Ceki Gulcu <ceki at qos.ch>
Date:   Wed Sep 15 23:17:19 2010 +0200

    over 40 months 0.41 day skew per month ads up to 16 days, which causes
    the tests to fail during the second of september of each year. Oh,
    yah!

diff --git a/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java b/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java
index f32b13f..02bc719 100644
--- a/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java
+++ b/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemovalTest.java
@@ -53,7 +53,7 @@ public class TimeBasedRollingWithArchiveRemovalTest {
   static final long MILLIS_IN_MINUTE = 60 * 1000;
   static final long MILLIS_IN_HOUR = 60 * MILLIS_IN_MINUTE;
   static final long MILLIS_IN_DAY = 24 * MILLIS_IN_HOUR;
-  static final long MILLIS_IN_MONTH = 30 * MILLIS_IN_DAY;
+  static final long MILLIS_IN_MONTH = (long) ((365.0/12) * MILLIS_IN_DAY);
 
   int diff = RandomUtil.getPositiveInt();
   protected String randomOutputDir = CoreTestConstants.OUTPUT_DIR_PREFIX + diff

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

Summary of changes:
 .../TimeBasedRollingWithArchiveRemovalTest.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


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


More information about the logback-dev mailing list