[logback-dev] svn commit: r823 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran
noreply.seb at qos.ch
noreply.seb at qos.ch
Tue Oct 31 11:49:15 CET 2006
Author: seb
Date: Tue Oct 31 11:49:15 2006
New Revision: 823
Modified:
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/joran/JoranConfigurator.java
Log:
Changing the EvaluatorAction pattern from configuration/evaluator to */evaluator lets the user create evaluators to go in the context's eval map *and* evaluators inside filter elements.
Same for MatcherAction
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 Tue Oct 31 11:49:15 2006
@@ -39,8 +39,8 @@
rs.addRule(new Pattern("configuration"), new ConfigurationAction());
- rs.addRule(new Pattern("configuration/evaluator"), new EvaluatorAction());
- rs.addRule(new Pattern("configuration/evaluator/matcher"),
+ rs.addRule(new Pattern("*/evaluator"), new EvaluatorAction());
+ rs.addRule(new Pattern("*/evaluator/matcher"),
new MatcherAction());
rs.addRule(new Pattern("configuration/logger"), new LoggerAction());
More information about the logback-dev
mailing list