forked from apache/ode
-
Notifications
You must be signed in to change notification settings - Fork 3
/
log4j2.xml.tpl
37 lines (34 loc) · 1.23 KB
/
log4j2.xml.tpl
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
<Configuration>
<Appenders>
<File name="FILE" fileName="ode.log" append="true">
<PatternLayout pattern="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</File>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
</Console>
<Async name="Async">
<AppenderRef ref="FILE"/>
<!--<AppenderRef ref="STDOUT"/>-->
</Async>
</Appenders>
<Loggers>
<Logger name="org.apache.ode" level="{{ .Env.LOG_LEVEL }}" additivity="false">
<AppenderRef ref="FILE"/>
</Logger>
<Logger name="org.apache.axis2" level="info" additivity="false">
<AppenderRef ref="FILE"/>
</Logger>
<Logger name="org.hibernate" level="info" additivity="false">
<AppenderRef ref="FILE"/>
</Logger>
<Logger name="org.apache.openjpa" level="info" additivity="false">
<AppenderRef ref="FILE"/>
</Logger>
<Logger name="org.springframework" level="error" additivity="false">
<AppenderRef ref="FILE"/>
</Logger>
<Root level="error">
<AppenderRef ref="Async"/>
</Root>
</Loggers>
</Configuration>