1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package ch.qos.logback.classic.issue.github879;
16
17
18 import ch.qos.logback.classic.ClassicConstants;
19 import org.slf4j.Logger;
20 import org.slf4j.LoggerFactory;
21
22 public class Main {
23
24
25 static {
26
27 System.setProperty("outputPath", "logback-classic/target/test-output/issue879");
28 String configFilePath = "logback-classic/src/test/java/ch/qos/logback/classic/issue/github879/";
29 System.setProperty("logback.statusListenerClass", "stdout");
30 System.setProperty(ClassicConstants.CONFIG_FILE_PROPERTY, configFilePath+"logback-879.xml");
31 }
32
33
34 public static void main(String[] args) {
35 final Logger LOGGER = LoggerFactory.getLogger(Main.class);
36
37 for (int i = 0; i < 20_000; i++) {
38 LOGGER.info("X".repeat(45));
39 }
40 }
41 }