summaryrefslogtreecommitdiffstats
path: root/adapters/mso-requests-db-adapter/src/test/resources/logback-test.xml
blob: c676d7fd8d01be68bf218bdca745adece6626d93 (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
<configuration>
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{MM/dd-HH:mm:ss.SSS}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{ServiceName}|%X{InstanceUUID}|%.-5level|%X{AlertSeverity}||%X{ServerIPAddress}|%X{ServerFQDN}|%X{RemoteHost}||%X{Timer}|%msg%n
            </pattern>
        </encoder>
    </appender>

    <appender name="test" class="org.onap.so.adapters.requestsdb.application.TestAppender" />

    <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" />
        <appender-ref ref="test" />
    </logger>

    <logger name="org.flywaydb" level="DEBUG" additivity="false">
        <appender-ref ref="STDOUT" />
    </logger>


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

    <logger name="org.hibernate" level="DEBUG" additivity="false">
        <appender-ref ref="STDOUT" />
    </logger>

    <logger name="org.reflections" level="ERROR" />

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

</configuration>