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

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Aug 7 19:26:41 CEST 2006


Author: ceki
Date: Mon Aug  7 19:26:40 2006
New Revision: 400

Modified:
   logback/classic/trunk/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java
Log:
added an ommitted action related to configuration/logger element

Modified: logback/classic/trunk/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java
==============================================================================
--- logback/classic/trunk/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java	(original)
+++ logback/classic/trunk/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java	Mon Aug  7 19:26:40 2006
@@ -7,14 +7,14 @@
  * the terms of the GNU Lesser General Public License as published by the Free
  * Software Foundation.
  */
- 
-package ch.qos.logback.classic.joran;
 
+package ch.qos.logback.classic.joran;
 
 import ch.qos.logback.classic.joran.action.ConfigurationAction;
 import ch.qos.logback.classic.joran.action.EvaluatorAction;
 import ch.qos.logback.classic.joran.action.LayoutAction;
 import ch.qos.logback.classic.joran.action.LevelAction;
+import ch.qos.logback.classic.joran.action.LoggerAction;
 import ch.qos.logback.classic.joran.action.RootLoggerAction;
 import ch.qos.logback.core.joran.JoranConfiguratorBase;
 import ch.qos.logback.core.joran.action.AppenderRefAction;
@@ -22,42 +22,36 @@
 import ch.qos.logback.core.joran.spi.Pattern;
 import ch.qos.logback.core.joran.spi.RuleStore;
 
-
-
 /**
  * A JoranConfigurator add few rules specific to the Classic module.
- *
+ * 
  * @author Ceki Gülcü
  */
 public class JoranConfigurator extends JoranConfiguratorBase {
- 
+
   public JoranConfigurator() {
   }
-  
+
   public void addInstanceRules(RuleStore rs) {
-    
+
     rs.addRule(new Pattern("configuration"), new ConfigurationAction());
-    
-    rs.addRule(
-        new Pattern("configuration/evaluator"), new EvaluatorAction());
-    rs.addRule(
-        new Pattern("configuration/evaluator/matcher"), new MatcherAction());
-    
-    rs.addRule(
-        new Pattern("configuration/logger/level"), new LevelAction());
-      rs.addRule(
-        new Pattern("configuration/root"), new RootLoggerAction());
-      rs.addRule(
-        new Pattern("configuration/root/level"), new LevelAction());
-      rs.addRule(
-        new Pattern("configuration/logger/appender-ref"),
+
+    rs.addRule(new Pattern("configuration/evaluator"), new EvaluatorAction());
+    rs.addRule(new Pattern("configuration/evaluator/matcher"),
+        new MatcherAction());
+
+    rs.addRule(new Pattern("configuration/logger"), new LoggerAction());
+    rs.addRule(new Pattern("configuration/logger/level"), new LevelAction());
+
+    rs.addRule(new Pattern("configuration/root"), new RootLoggerAction());
+    rs.addRule(new Pattern("configuration/root/level"), new LevelAction());
+    rs.addRule(new Pattern("configuration/logger/appender-ref"),
         new AppenderRefAction());
-      rs.addRule(
-        new Pattern("configuration/root/appender-ref"),
+    rs.addRule(new Pattern("configuration/root/appender-ref"),
         new AppenderRefAction());
-      rs.addRule(
-          new Pattern("configuration/appender/layout"), new LayoutAction());
+    rs
+        .addRule(new Pattern("configuration/appender/layout"),
+            new LayoutAction());
   }
-  
 
 }



More information about the logback-dev mailing list