aboutsummaryrefslogtreecommitdiffstats
path: root/upstream/odl-aaa-moon/aaa/aaa-shiro/src/test/resources/logback-test.xml
blob: 68ceeabcac9e348505a32681fbb6eda63d0816c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

    <appender name="TEST-APPENDER" class="org.opendaylight.aaa.shiro.TestAppender">
        <layout class="ch.qos.logback.classic.PatternLayout">
            <Pattern>
                %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
            </Pattern>
        </layout>
    </appender>

    <logger name="org.opendaylight.aaa.shiro.authc" level="debug"
        additivity="false">
        <appender-ref ref="TEST-APPENDER" />
    </logger>

    <root level="debug">
        <appender-ref ref="TEST-APPENDER" />
    </root>

</configuration>