-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Log migration progress on kvutils participants changelog_begin changelog_end * Log flyway progress in daml-on-sql * Revert "Log flyway progress in daml-on-sql" This reverts commit 7809b8c. * Log flyway progress on daml-on-sql ... using a duplicated file
- Loading branch information
1 parent
401069e
commit adeba20
Showing
3 changed files
with
47 additions
and
3 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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %replace(, context: %marker){', context: $', ''} %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> | ||
|
||
<!-- Disable noisy DB logging at the start of sandbox --> | ||
<logger name="com.daml.platform.store.FlywayMigrations" level="WARN" /> | ||
<logger name="com.zaxxer.hikari" level="ERROR" /> | ||
<logger name="com.daml.ledger.on.sql" level="WARN" /> | ||
<logger name="com.daml.platform" level="WARN" /> | ||
|
||
<!-- Log progress of flyway migrations --> | ||
<logger name="org.flywaydb" level="INFO" /> | ||
|
||
<!-- raising the command tracker logging level --> | ||
<logger name="com.daml.platform.apiserver.services.tracking.TrackerMap" level="WARN" /> | ||
|
||
<!-- | ||
explicitly enabling the info logging for sandbox main and ledger api server | ||
for the usual startup info logging (which port, dar files, etc...) | ||
--> | ||
<logger name="com.daml.platform.sandboxnext" level="INFO" /> | ||
<logger name="com.daml.platform.sandbox" level="INFO" /> | ||
<logger name="com.daml.platform.apiserver.LedgerApiServer" level="INFO" /> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="STDOUT"/> | ||
<appender-ref ref="ASYNC"/> | ||
</root> | ||
</configuration> |
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