-
Notifications
You must be signed in to change notification settings - Fork 0
/
log4j.xml
33 lines (33 loc) · 1.17 KB
/
log4j.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
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn">
<Properties>
<Property name="LOG_DIR">/usr/local/tomcat/logs</Property>
</Properties>
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout
pattern="%%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p - %m%n" />
</Console>
<RollingFile name="rollingFile" fileName="${LOG_DIR}/debugging.out" filePattern="${LOG_DIR}/debugging.%d{dd-MMM}.out.gz" ignoreExceptions="false">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p - %m%n"/>
<Policies>
<OnStartupTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10MB" />
<TimeBasedTriggeringPolicy />
</Policies>
<DefaultRolloverStrategy max="5" />
</RollingFile>
</Appenders>
<Loggers>
<Logger name="de.edirom.meigarage" level="debug" additivity="false">
<AppenderRef ref="rollingFile"/>
</Logger>
<Logger name="pl.psnc.dl.ege" level="debug" additivity="false">
<AppenderRef ref="rollingFile"/>
</Logger>
<Root level="warn">
<AppenderRef ref="console"/>
<AppenderRef ref="rollingFile"/>
</Root>
</Loggers>
</Configuration>