Search in sources :

Example 1 with RuleStore

use of ch.qos.logback.core.joran.spi.RuleStore in project cdap by caskdata.

the class LogPipelineConfigurator method buildInterpreter.

@Override
protected void buildInterpreter() {
    super.buildInterpreter();
    RuleStore ruleStore = interpreter.getRuleStore();
    ruleStore.addRule(new Pattern("configuration/contextName"), new ContextConfigAction(cConf));
    ruleStore.addRule(new Pattern("configuration/appender"), new WrapAppenderAction<ILoggingEvent>());
}
Also used : Pattern(ch.qos.logback.core.joran.spi.Pattern) RuleStore(ch.qos.logback.core.joran.spi.RuleStore) ILoggingEvent(ch.qos.logback.classic.spi.ILoggingEvent)

Aggregations

ILoggingEvent (ch.qos.logback.classic.spi.ILoggingEvent)1 Pattern (ch.qos.logback.core.joran.spi.Pattern)1 RuleStore (ch.qos.logback.core.joran.spi.RuleStore)1