Skip to content

Commit

Permalink
feat: use a standard logger for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jun 21, 2024
1 parent 1b88461 commit 5ce95a7
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions src/test/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false">
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
<property name="pattern" value="%d{ISO8601} %highlight(%-5.5level) %magenta(%-12.12thread) %cyan(%-12.12logger{12}) %msg%n" />
<withJansi>true</withJansi>

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<target>System.out</target>
<immediateFlush>true</immediateFlush>
<encoder>
<pattern>${pattern}</pattern>
</encoder>
</appender>

<include resource="logback/base.xml" />
<include resource="logback/text.xml" />
<include resource="logback/test.xml" />

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

<logger name="io.kestra" level="INFO" />
<logger name="flow" level="INFO" />

</configuration>

0 comments on commit 5ce95a7

Please sign in to comment.