summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-08-03 12:12:00 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-09-08 11:40:34 +0200
commit2a3e49675be8d97d533a37f78e40077e5d50f048 (patch)
treee6425458204579f7d31af4825f80e359a1f06bee
parent104eabe1cc95d35277b8b1617c08f7cc3d6c0220 (diff)
Test logback configuration
DEGUB is only enabled for fd.io. Should significantly improve build time. Change-Id: Iabc2c82dc6eed335b8b025ff92e129cc07ece03f Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 89920339ba9e5da1e33b1466a3f2b29a81096b2e)
-rw-r--r--vpp-common/vpp-translate-test/src/main/resources/logback-test.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/vpp-common/vpp-translate-test/src/main/resources/logback-test.xml b/vpp-common/vpp-translate-test/src/main/resources/logback-test.xml
new file mode 100644
index 000000000..5f758ecf7
--- /dev/null
+++ b/vpp-common/vpp-translate-test/src/main/resources/logback-test.xml
@@ -0,0 +1,15 @@
+ <configuration scan="true">
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{36} - %msg%n</pattern>
+ </encoder>
+ </appender>
+
+ <root level="warn">
+ <appender-ref ref="STDOUT" />
+ </root>
+
+ <logger name="org.opendaylight" level="INFO"/>
+ <logger name="io.fd" level="DEBUG"/>
+</configuration>