[LOGBack-dev] svn commit: r388 - logback/core/trunk/src/main/java/ch/qos/logback/core/util

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Aug 2 22:50:00 CEST 2006


Author: ceki
Date: Wed Aug  2 22:49:59 2006
New Revision: 388

Modified:
   logback/core/trunk/src/main/java/ch/qos/logback/core/util/StatusPrinter.java
Log:

I think StatusPrinter should be silent in case there are no status messages

Modified: logback/core/trunk/src/main/java/ch/qos/logback/core/util/StatusPrinter.java
==============================================================================
--- logback/core/trunk/src/main/java/ch/qos/logback/core/util/StatusPrinter.java	(original)
+++ logback/core/trunk/src/main/java/ch/qos/logback/core/util/StatusPrinter.java	Wed Aug  2 22:49:59 2006
@@ -17,10 +17,7 @@
 public class StatusPrinter {
 
   public static void print(StatusManager sm) {
-  	if(sm.getCount() == 0) {
-  		 System.out.println("This status manager contains no errors.");
-  		return;
-  	}
+  	
     Iterator it = sm.iterator();
     while(it.hasNext()) {
       Status s = (Status) it.next();



More information about the logback-dev mailing list