[logback-dev] svn commit: r776 - in logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran: action spi

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Oct 25 17:06:15 CEST 2006


Author: ceki
Date: Wed Oct 25 17:06:14 2006
New Revision: 776

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/spi/SimpleRuleStore.java

Log:
minor changes

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/action/AppenderAction.java	Wed Oct 25 17:06:14 2006
@@ -1,7 +1,7 @@
 /**
- * LOGBack: the generic, reliable, fast and flexible logging framework.
+ * Logback: the generic, reliable, fast and flexible logging framework for Java.
  * 
- * Copyright (C) 1999-2006, QOS.ch
+ * Copyright (C) 2000-2006, QOS.ch
  * 
  * This library is free software, you can redistribute it and/or modify it under
  * the terms of the GNU Lesser General Public License as published by the Free
@@ -54,7 +54,7 @@
           "No appender name given for appender of type " + className + "].");
       } else {
         appender.setName(appenderName);
-        addInfo("Appender named as [" + appenderName + "]");
+        addInfo("Naming appender as [" + appenderName + "]");
       }
 
       // The execution context contains a bag which contains the appenders

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/spi/SimpleRuleStore.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/spi/SimpleRuleStore.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/spi/SimpleRuleStore.java	Wed Oct 25 17:06:14 2006
@@ -141,5 +141,17 @@
       return null;
     }
   }
+
+  public String toString()  {
+      final String TAB = "  ";
+      
+      StringBuilder retValue = new StringBuilder();
+      
+      retValue.append("SimpleRuleStore ( ")
+          .append("rules = ").append(this.rules).append(TAB)
+          .append(" )");
+      
+      return retValue.toString();
+  }
     
 }



More information about the logback-dev mailing list