-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlog4j2.xml
64 lines (51 loc) · 2.29 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
<?xml version="1.0" encoding="UTF-8" ?>
<Configuration status="warn" name="OpenTree" packages="">
<Properties>
<Property name="LOG_PATTERN">
%d %highlight{[%5p]}{FATAL=red blink, ERROR=red, WARN=yellow bold, INFO=blue, DEBUG=blue bold, TRACE=light blue} [%15.15t] %style{%-40.40c{1.}}{yellow} [L:%L] %M - %m%n
</Property>
</Properties>
<Appenders>
<Console name="ConsoleAppender" target="SYSTEM_OUT" follow="true">
<PatternLayout pattern="${LOG_PATTERN}" />
</Console>
</Appenders>
<Loggers>
<Logger name="com.shutterstock.oss.opentree" level="debug" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.hibernate" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.boot" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.beans" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.context" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.web" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.http" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.springframework.transaction" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="com.zaxxer.hikari" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="com.fasterxml.jackson" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Logger name="org.thymeleaf.spring5" level="error" additivity="false">
<AppenderRef ref="ConsoleAppender" />
</Logger>
<Root level="warn">
<AppenderRef ref="ConsoleAppender" />
</Root>
</Loggers>
</Configuration>