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.SaxEventInterpretationContext;
20
21
22
23
24 public class ContextPropertyAction extends Action {
25
26 @Override
27 public void begin(SaxEventInterpretationContext ec, String name, Attributes attributes) throws ActionException {
28 addError("The [contextProperty] element has been removed. Please use [property] element instead");
29 }
30
31 @Override
32 public void end(SaxEventInterpretationContext ec, String name) throws ActionException {
33 }
34
35 }