-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlogback.xml
36 lines (29 loc) · 1.06 KB
/
logback.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
common Logback configuration for all tests
-->
<included>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>target/test.log</file>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="FROM_XPROCSPEC" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="org.daisy.maven.xproc.pipeline.logging.ProgressMessageEncoder">
<pattern> | %-5level | %indent{ }%msg%n</pattern>
</encoder>
</appender>
<logger name="org.daisy.maven.xproc.pipeline.MessageEventListener" level="INFO" additivity="false">
<appender-ref ref="FROM_XPROCSPEC"/>
</logger>
<include resource="org/daisy/pipeline/logging/jul-to-slf4j.xml"/>
<include resource="org/daisy/pipeline/logging/appenders.xml">
<!-- JOB and JOB_FILE appenders-->
</include>
<root level="INFO">
<appender-ref ref="FILE"/>
<appender-ref ref="JOB"/>
</root>
<logger name="org.daisy" level="DEBUG"/>
</included>