1 package ch.qos.logback.core.joran.action;
2
3 import org.xml.sax.Attributes;
4
5 import ch.qos.logback.core.joran.spi.ActionException;
6 import ch.qos.logback.core.joran.spi.InterpretationContext;
7
8
9
10
11 public class ContextPropertyAction extends Action {
12
13 @Override
14 public void begin(InterpretationContext ec, String name, Attributes attributes)
15 throws ActionException {
16 addError("The [contextProperty] element has been removed. Please use [substitutionProperty] element instead");
17 }
18
19 @Override
20 public void end(InterpretationContext ec, String name) throws ActionException {
21 }
22
23 }