logback-test.xml 1000 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<configuration debug="false">
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <withJansi>true</withJansi>
    <encoder>
      <pattern>[%green(%d{HH:mm:ss} &lt;%thread: %c{0}&gt;) %highlight(%level)] %msg%n</pattern>
    </encoder>
    <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
      <level>info</level>
    </filter>
  </appender>

  <root level="info">
    <appender-ref ref="STDOUT" />
  </root>
  
16
  <appender name="STDOUT-DETAIL" class="ch.qos.logback.core.ConsoleAppender">
17
18
19
20
21
22
    <withJansi>true</withJansi>
    <encoder>
      <pattern>[%blue(%d{HH:mm:ss} &lt;%thread: %c{0}&gt;) %highlight(%level)] %msg%n</pattern>
    </encoder>
  </appender>

23
  <logger name="de.tu_darmstadt.cs.esa.tapasco.task" level="trace">
24
    <appender-ref ref="STDOUT-DETAIL" />
25
  </logger>
26
27
28
29
30

  <!--<logger name="de.tu_darmstadt.cs.esa.tapasco.itapasco.view.detail.LogTrackingPanel" level="trace">
    <appender-ref ref="STDOUT-DETAIL" />
  </logger>-->
</configuration>