This repository has been archived by the owner on Nov 28, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlogback_debug.xml
65 lines (54 loc) · 2.43 KB
/
logback_debug.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
65
<configuration scan="true">
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{30}[:%line] - %msg%n%ex{10}</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>${openhab.logdir:-logs}/openhab.log</file>
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{30}[:%line]- %msg%n%ex</pattern>
</encoder>
</appender>
<appender name="EVENTFILE"
class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>${openhab.logdir:-logs}/events.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- weekly rollover and archiving -->
<fileNamePattern>events-%d{yyyy-ww}.log.zip</fileNamePattern>
<!-- keep 30 days' worth of history -->
<maxHistory>30</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss} - %msg%n</pattern>
</encoder>
</appender>
<logger name="runtime.busevents" level="INFO" additivity="false">
<appender-ref ref="EVENTFILE" />
<appender-ref ref="STDOUT" />
</logger>
<logger name="org.openhab" level="DEBUG" />
<logger name="org.openhab.binding.knx" level="DEBUG" />
<logger name="org.openhab.binding.onewire" level="INFO" />
<logger name="org.openhab.ui" level="INFO" />
<logger name="org.openhab.ui.webapp" level="DEBUG" />
<logger name="org.openhab.ui.webapp.internal.servlet" level="INFO" />
<logger name="org.openhab.io.net" level="INFO" />
<logger name="org.openhab.core.autoupdate" level="DEBUG" />
<logger name="org.openhab.core.persistence.internal" level="TRACE" />
<logger name="org.openhab.core.transform.internal.service.MapTransformationService" level="INFO" />
<logger name="org.openhab.binding.vdr" level="DEBUG" />
<logger name="org.openhab.model.core.internal.folder" level="INFO" />
<logger name="org.openhab.io.dropbox" level="DEBUG" />
<logger name="org.openhab.binding.rfxcom" level="DEBUG" />
<logger name="OSGi" level="WARN" />
<logger name="org.eclipse.jetty" level="WARN" />
<logger name="org.drools.SystemEventListener" level="INFO" />
<root level="INFO">
<appender-ref ref="FILE" />
<appender-ref ref="STDOUT" />
</root>
<logger name="org.openhab.io.dropbox" level="DEBUG" />
<!-- temporary workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=402750 -->
<logger name="OSGi" level="OFF" />
</configuration>