Less logging in tests (#1145)

* Less DEBUG logging in java codegen tests

* Add logback-test.xml for ledger/sandbox tests
This commit is contained in:
Gerolf Seitz 2019-05-15 10:58:08 +02:00 committed by mergify[bot]
parent 41968cb4f7
commit a5cf706040
2 changed files with 27 additions and 3 deletions

View File

@ -8,8 +8,8 @@
</encoder> </encoder>
</appender> </appender>
<logger name="com.digitalasset" level="DEBUG" /> <logger name="com.digitalasset" level="INFO" />
<logger name="com.daml" level="DEBUG" /> <logger name="com.daml" level="INFO" />
<root level="WARN"> <root level="WARN">
<appender-ref ref="STDOUT" /> <appender-ref ref="STDOUT" />

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>sandbox.log</file>
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %mdc%n</pattern>
</encoder>
</appender>
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="FILE"/>
</appender>
<root level="INFO">
<appender-ref ref="STDOUT"/>
<appender-ref ref="ASYNC"/>
</root>
</configuration>