1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.classic.blackbox.joran;
15
16 import ch.qos.logback.classic.LoggerContext;
17 import org.slf4j.Logger;
18
19 import ch.qos.logback.classic.spi.ILoggingEvent;
20 import ch.qos.logback.core.AppenderBase;
21
22
23
24
25
26
27
28 public class RecursivelyLoggingAppender474 extends AppenderBase<ILoggingEvent> {
29
30 Logger logger;
31
32 public void start() {
33 super.start();
34 logger = ((LoggerContext) getContext()).getLogger("Ignore");
35 }
36
37 protected void append(ILoggingEvent eventObject) {
38 logger.debug("Ignore this");
39 }
40 }