mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
27 lines
952 B
XML
27 lines
952 B
XML
<configuration>
|
|
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
|
<if condition='isDefined("LOG_FORMAT_JSON")'>
|
|
<then>
|
|
<encoder class="net.logstash.logback.encoder.LogstashEncoder"/>
|
|
</then>
|
|
<else>
|
|
<encoder>
|
|
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %replace(, context: %marker){', context: $', ''} %n</pattern>
|
|
</encoder>
|
|
</else>
|
|
</if>
|
|
</appender>
|
|
|
|
<appender name="STDOUT" class="net.logstash.logback.appender.LoggingEventAsyncDisruptorAppender">
|
|
<appender-ref ref="console"/>
|
|
</appender>
|
|
|
|
<logger name="io.netty" level="WARN"/>
|
|
<logger name="io.grpc.netty" level="WARN"/>
|
|
<logger name="com.daml.lf.engine.trigger" level="INFO"/>
|
|
|
|
<root level="${LOG_LEVEL_ROOT:-INFO}">
|
|
<appender-ref ref="STDOUT" />
|
|
</root>
|
|
</configuration>
|