-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestsuite-logback.xml
67 lines (59 loc) · 2.35 KB
/
testsuite-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
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
66
67
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration>
<configuration>
<import class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"/>
<import class="ch.qos.logback.core.ConsoleAppender"/>
<variable name="date_format" value="%d{HH:mm:ss.SSS}"/>
<appender name="STDOUT" class="ConsoleAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>info</level>
</filter>
<encoder class="PatternLayoutEncoder">
<pattern>${date_format} [%thread] %highlight(%-5level) %logger{6} - %msg%n</pattern>
</encoder>
</appender>
<appender name="REST" class="ch.qos.logback.core.FileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>trace</level>
</filter>
<file>target/site/rest.log</file>
<append>false</append>
<encoder>
<pattern>${date_format} [%thread] %-5level %logger{6} [%file:%line] - %msg%n</pattern>
</encoder>
</appender>
<!-- logging FHIR / HAPI related information separately -->
<appender name="FHIR" class="ch.qos.logback.core.FileAppender">
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>trace</level>
</filter>
<file>target/site/fhir.log</file>
<encoder>
<pattern>${date_format} [%thread] %-5level %logger{6} [%file:%line] - %msg%n</pattern>
</encoder>
</appender>
<logger name="ch.qos.logback" level="WARN" additivity="false">
<appender-ref ref="FHIR"/>
<append>false</append>
</logger>
<logger name="ca.uhn.fhir" level="INFO" additivity="false">
<appender-ref ref="FHIR"/>
<append>false</append>
</logger>
<logger name="org.hl7.fhir" level="WARN" additivity="false">
<appender-ref ref="FHIR"/>
<append>false</append>
</logger>
<logger name="de.gematik.test.erezept.fhir.parser" level="INFO" additivity="false">
<appender-ref ref="FHIR"/>
</logger>
<logger name="de.gematik.test.erezept.client" level="TRACE" additivity="false">
<appender-ref ref="REST"/>
</logger>
<logger name="de.gematik" level="INFO" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<root level="WARN">
<appender-ref ref="STDOUT"/>
</root>
</configuration>