~jan0sch/smederee

~jan0sch/smederee/modules/hub/src/main/resources/logback.xml
 ..
0 <?xml version="1.0" encoding="UTF-8"?>
1 <configuration debug="false">
2 <appender name="console" class="ch.qos.logback.core.ConsoleAppender">
3 <encoder>
4 <pattern>%date %highlight(%-5level) %cyan(%logger{0}) - %msg%n</pattern>
5 </encoder>
6 </appender>
7
8 <appender name="async-console" class="ch.qos.logback.classic.AsyncAppender">
9 <appender-ref ref="console"/>
10 <queueSize>5000</queueSize>
11 <discardingThreshold>0</discardingThreshold>
12 </appender>
13
14 <!-- Suppress logback status output! -->
15 <statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
16
17 <logger name="de.smederee.ssh" level="${smederee.ssh.loglevel:-INFO}" additivity="false">
18 <appender-ref ref="async-console"/>
19 </logger>
20
21 <logger name="de.smederee.hub" level="${smederee.hub.loglevel:-INFO}" additivity="false">
22 <appender-ref ref="async-console"/>
23 </logger>
24
25 <root level="INFO">
26 <appender-ref ref="async-console"/>
27 </root>
28 </configuration>