generated from kestra-io/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use a standard logger for unit test
- Loading branch information
1 parent
21c0ed3
commit b52182c
Showing
1 changed file
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |