Configured logback for shorter log-lines
authorKai Moritz <kai@juplo.de>
Fri, 5 Jul 2024 21:51:26 +0000 (23:51 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 5 Jul 2024 21:51:26 +0000 (23:51 +0200)
src/test/resources/logback-test.xml

index 171bf63..97fca8c 100644 (file)
@@ -1,5 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
-    <include resource="org/springframework/boot/logging/logback/base.xml" />
+    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder>
+            <pattern>%-5level [%thread]: %message%n</pattern>
+        </encoder>
+    </appender>
+    <logger name="org.apache.kafka.streams" level="INFO" />
     <logger name="de.juplo.kafka.wordcount.counter" level="DEBUG" />
+    <root level="WARN">
+        <appender-ref ref="STDOUT" />
+    </root>
 </configuration>