[logback-dev] svn commit: r936 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling

noreply.seb at qos.ch noreply.seb at qos.ch
Fri Nov 17 12:17:54 CET 2006


Author: seb
Date: Fri Nov 17 12:17:54 2006
New Revision: 936

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java

Log:
removed noisy event reporting

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java	Fri Nov 17 12:17:54 2006
@@ -171,19 +171,19 @@
     long n = System.currentTimeMillis();
 
     if (n >= nextCheck) {
-      addInfo("Time to trigger roll-over");
+      //addInfo("Time to trigger roll-over");
       // We set the elapsedPeriodsFileName before we set the 'lastCheck' variable
       // The elapsedPeriodsFileName corresponds to the file name of the period
       // that just elapsed.
       elapsedPeriodsFileName = activeFileNamePattern.convertDate(lastCheck);
-      addInfo("elapsedPeriodsFileName set to "+elapsedPeriodsFileName);
+      //addInfo("elapsedPeriodsFileName set to "+elapsedPeriodsFileName);
 
       lastCheck.setTime(n);
       nextCheck = rc.getNextCheckMillis(lastCheck);
 
       Date x = new Date();
       x.setTime(nextCheck);
-      addInfo("Next check on "+ x);
+      //addInfo("Next check on "+ x);
 
       return true;
     } else {



More information about the logback-dev mailing list