-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlog4j.xml
More file actions
24 lines (24 loc) · 840 Bytes
/
log4j.xml
File metadata and controls
24 lines (24 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Properties>
<Property name="LOGLEVEL">INFO</Property>
</Properties>
<Appenders>
<Console name="SlowConsole" target="SYSTEM_OUT">
</Console>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout>
<Pattern>%highlight{%d %p %c{1.} [%t] %m %ex%n}{FATAL=red blink, ERROR=red, WARN=yellow bold, INFO=blue, DEBUG=green bold, TRACE=gray}</Pattern>
</PatternLayout>
</Console>
<Async name="AsyncSystem">
<AppenderRef ref="STDOUT"/>
</Async>
</Appenders>
<Loggers>
<Logger name="org.springframework.data.rest.webmvc.AbstractRepositoryRestController" level="OFF" additivity="false"/>
<Root level="trace">
<AppenderRef ref="AsyncSystem" level="${env:LOGLEVEL}"/>
</Root>
</Loggers>
</Configuration>