[logback-dev] svn commit: r2359 - in logback/trunk/logback-classic/src: main/java/ch/qos/logback/classic/turbo test/input/turbo

noreply.ceki at qos.ch noreply.ceki at qos.ch
Fri Jul 17 11:25:20 CEST 2009


Author: ceki
Date: Fri Jul 17 11:25:19 2009
New Revision: 2359

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java
   logback/trunk/logback-classic/src/test/input/turbo/scan1.xml

Log:
- cosmetic changes

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/turbo/ReconfigureOnChangeFilter.java	Fri Jul 17 11:25:19 2009
@@ -99,7 +99,7 @@
     synchronized (context) {
       boolean changed = changeDetected();
       if (changed) {
-        addInfo("[" + fileToScan + "] change detected. Reconfiguring. ");
+        addInfo("Detected change in [" + fileToScan + "]");
         addInfo("Resetting and reconfiguring context [" + context.getName()
             + "]");
         reconfigure();
@@ -112,10 +112,10 @@
     nextCheck = now + refreshPeriod;
   }
 
-  // String stem() {
-  // return currentThreadName() + ", context " + context.getName()
-  // + ", nextCheck=" + (nextCheck - INIT);
-  // }
+//  String stem() {
+//    return currentThreadName() + ", context " + context.getName()
+//        + ", nextCheck=" + (nextCheck - INIT);
+//  }
 
   // This method is synchronized to prevent near-simultaneous re-configurations
   protected boolean changeDetected() {

Modified: logback/trunk/logback-classic/src/test/input/turbo/scan1.xml
==============================================================================
--- logback/trunk/logback-classic/src/test/input/turbo/scan1.xml	(original)
+++ logback/trunk/logback-classic/src/test/input/turbo/scan1.xml	Fri Jul 17 11:25:19 2009
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE configuration>
 
-<configuration scan="true" scanPeriod="10 millisecond">
+<configuration scan="true" scanPeriod="50 millisecond">
   <root level="ERROR"/>  
 </configuration> 
        
\ No newline at end of file


More information about the logback-dev mailing list