-
Notifications
You must be signed in to change notification settings - Fork 25
/
log4j2.xml
30 lines (30 loc) · 1.14 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
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="warn" shutdownHook="disable">
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout>
<Pattern>%highlight{%d{yyyy-MM-dd/HH:mm:ss,SSS/zzz}{CET} [%p] [%t] %c{1} - %msg%n%throwable}</Pattern>
</PatternLayout>
</Console>
<Async name="Async">
<AppenderRef ref="STDOUT"/>
</Async>
</Appenders>
<Loggers>
<Logger name="org.apache.kafka" level="INFO" additivity="false">
<AppenderRef ref="Async"/>
</Logger>
<Logger name="org.apache.kafka.clients.consumer.ConsumerConfig" level="ERROR" additivity="false">
<AppenderRef ref="Async"/>
</Logger>
<Logger name="org.apache.kafka.clients.producer.ProducerConfig" level="ERROR" additivity="false">
<AppenderRef ref="Async"/>
</Logger>
<Logger name="io.confluent" level="WARN" additivity="false">
<AppenderRef ref="Async"/>
</Logger>
<Root level="DEBUG">
<AppenderRef ref="Async"/>
</Root>
</Loggers>
</Configuration>