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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Sat Oct 21 18:43:36 CEST 2006


Author: ceki
Date: Sat Oct 21 18:43:36 2006
New Revision: 736

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusBase.java

Log:
prefer effectiveLevel to level in toString() method. 

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusBase.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusBase.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/status/StatusBase.java	Sat Oct 21 18:43:36 2006
@@ -104,7 +104,7 @@
    */
   public String toString() {
     StringBuffer buf = new StringBuffer();
-    switch (level) {
+    switch (getEffectiveLevel()) {
     case INFO:
       buf.append("INFO");
       break;



More information about the logback-dev mailing list