summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-flows/src/test/resources/logback-test.xml
blob: 3b0bdb252f984fc8561599b35b776a595e03bd2b (plain)
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
68
69
<configuration>

  <property name="LOGS" value="target/logs" />

  <!-- Add this appender to keep the log file for further troubleshooting-->
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level
        %logger{1024} - %msg%n
      </pattern>
    </encoder>
  </appender>

  <appender name="File"
    class="ch.qos.logback.core.FileAppender">
    <file>${LOGS}/testing.log</file>
    <encoder
      class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
      <Pattern>%d{HH:mm:ss.SSS} [%thread] |%X{RequestId}| %-5level
        %logger{1024} - %msg%n</Pattern>
    </encoder>
  </appender>

  <logger name="com.att.ecomp.audit" level="info" additivity="false">
    <appender-ref ref="STDOUT"/>
  </logger>

  <logger name="com.att.eelf.metrics" level="info" additivity="false">
    <appender-ref ref="STDOUT"/>
  </logger>

  <logger name="com.att.eelf.error" level="WARN" additivity="false">
    <appender-ref ref="STDOUT"/>
  </logger>

  <logger name="org.onap" level="${so.log.level:-DEBUG}" additivity="false">
    <appender-ref ref="STDOUT"/>
  </logger>


  <logger name="ch.vorburger" level="WARN" additivity="false">
    <appender-ref ref="STDOUT"/>
  </logger>

  <logger name="AUDIT" level="info" additivity="true">
    <appender-ref ref="STDOUT"/>
  </logger>

  <!-- suppress the amount of org.apache.tomcat.util.net.NioEndpoint log-->
  <logger name="org.apache.tomcat" level="WARN" />

  <!-- suppress the amount of org.springframework.beans log-->
  <logger name="org.springframework.beans" level="WARN"/>

  <!-- suppress the amount of org.springframework.context log-->
  <logger name="org.springframework.context" level="WARN"/>

  <!-- suppress the amount of org.camunda.bpm.engine.impl.persistence-->
  <logger name="org.camunda.bpm.engine.impl.persistence" level="WARN"/>

  <!-- suppress the amount of org.camunda.bpm.engine.persistence-->
  <logger name="org.camunda.bpm.engine.persistence" level="WARN"/>

  <root level="WARN">
    <appender-ref ref="STDOUT"/>
    <appender-ref ref="File"/>
  </root>

</configuration>