mirror of
https://github.com/digital-asset/daml.git
synced 2024-08-14 23:30:27 +03:00
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:
parent
41968cb4f7
commit
a5cf706040
@ -8,10 +8,10 @@
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="com.digitalasset" level="DEBUG" />
|
||||
<logger name="com.daml" level="DEBUG" />
|
||||
<logger name="com.digitalasset" level="INFO" />
|
||||
<logger name="com.daml" level="INFO" />
|
||||
|
||||
<root level="WARN">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
24
ledger/sandbox/src/test/resources/logback-test.xml
Normal file
24
ledger/sandbox/src/test/resources/logback-test.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user