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