Ditch logback from yang-parser-rfc7950 tests 86/111386/1
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 14 Apr 2024 20:43:39 +0000 (22:43 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 14 Apr 2024 20:44:18 +0000 (22:44 +0200)
Use slf4j-simple, as that is what we get by default. Also prevents a
warning about multiple providers being present.

Change-Id: I29d77f7ca1094cd773650c711167e1d42dcbf5ca
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
parser/yang-parser-rfc7950/pom.xml
parser/yang-parser-rfc7950/src/test/resources/simplelogger.properties [new file with mode: 0644]

index ab26c232cd1bbe77f003b9b0688fdd8460925f79..96da8fca348197605d8e53173c9f024fd2ffba04 100644 (file)
             <artifactId>yang-xpath-api</artifactId>
         </dependency>
 
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <scope>test</scope>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>yang-xpath-impl</artifactId>
diff --git a/parser/yang-parser-rfc7950/src/test/resources/simplelogger.properties b/parser/yang-parser-rfc7950/src/test/resources/simplelogger.properties
new file mode 100644 (file)
index 0000000..e961c1e
--- /dev/null
@@ -0,0 +1,2 @@
+org.slf4j.simpleLogger.logFile = System.out
+org.slf4j.simpleLogger.log.org.opendaylight.yangtools.yang.parser.rfc7950.stmt.pattern = debug