This repository has been archived by the owner on Aug 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog4j2.xml
104 lines (91 loc) · 3.39 KB
/
log4j2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
<RollingFile fileName="logs/app.log"
filePattern="logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz"
name="Application">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
<RollingFile fileName="logs/main.log"
filePattern="logs/$${date:yyyy-MM}/main-%d{MM-dd-yyyy}-%i.log.gz"
name="Main">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
<RollingFile fileName="logs/alternative.log"
filePattern="logs/$${date:yyyy-MM}/alternative-%d{MM-dd-yyyy}-%i.log.gz"
name="Alternative">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
<RollingFile fileName="logs/punk.log"
filePattern="logs/$${date:yyyy-MM}/punk-%d{MM-dd-yyyy}-%i.log.gz"
name="Punk">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
<RollingFile fileName="logs/emo_hardcore.log"
filePattern="logs/$${date:yyyy-MM}/emo_hardcore-%d{MM-dd-yyyy}-%i.log.gz"
name="Emo_hardcore">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
<RollingFile fileName="logs/metal.log"
filePattern="logs/$${date:yyyy-MM}/metal-%d{MM-dd-yyyy}-%i.log.gz"
name="Metal">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
<Policies>
<TimeBasedTriggeringPolicy/>
<SizeBasedTriggeringPolicy size="50 MB"/>
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Logger additivity="false" level="debug" name="ru.bigspawn.parser.Main">
<AppenderRef ref="Application"/>
<AppenderRef ref="Console"/>
</Logger>
<Logger additivity="false" level="debug" name="page">
<AppenderRef ref="Main"/>
<AppenderRef ref="Console"/>
</Logger>
<Logger additivity="false" level="debug" name="alternative">
<AppenderRef ref="Alternative"/>
<AppenderRef ref="Console"/>
</Logger>
<Logger additivity="false" level="debug" name="punk">
<AppenderRef ref="Punk"/>
<AppenderRef ref="Console"/>
</Logger>
<Logger additivity="false" level="debug" name="emo_hardcore">
<AppenderRef ref="Emo_hardcore"/>
<AppenderRef ref="Console"/>
</Logger>
<Logger additivity="false" level="debug" name="metal">
<AppenderRef ref="Metal"/>
<AppenderRef ref="Console"/>
</Logger>
<Root level="all">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>