[logback-dev] svn commit: r774 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran

noreply.ceki at qos.ch noreply.ceki at qos.ch
Wed Oct 25 17:02:21 CEST 2006


Author: ceki
Date: Wed Oct 25 17:02:21 2006
New Revision: 774

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java

Log:
no need to add parent's rules twice

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java	(original)
+++ logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java	Wed Oct 25 17:02:21 2006
@@ -34,6 +34,7 @@
 
   @Override
   public void addInstanceRules(RuleStore rs) {
+    // parent rules already added
     super.addInstanceRules(rs);
 
     rs.addRule(new Pattern("configuration"), new ConfigurationAction());
@@ -54,7 +55,6 @@
     rs
         .addRule(new Pattern("configuration/appender/layout"),
             new LayoutAction());
-    super.addInstanceRules(rs);
   }
 
 }



More information about the logback-dev mailing list