diff --git a/ledger/daml-on-sql/BUILD.bazel b/ledger/daml-on-sql/BUILD.bazel index 9ffbc0e535a2..d8692ba8b8c9 100644 --- a/ledger/daml-on-sql/BUILD.bazel +++ b/ledger/daml-on-sql/BUILD.bazel @@ -62,7 +62,7 @@ da_scala_library( da_scala_binary( name = "daml-on-sql-binary", main_class = "com.daml.on.sql.Main", - resources = ["//ledger/sandbox-common:src/main/resources/logback.xml"], + resources = ["src/main/resources/logback.xml"], deps = [ ":daml-on-sql", ], @@ -71,7 +71,7 @@ da_scala_binary( da_scala_binary( name = "daml-on-sql-ephemeral-postgresql", main_class = "com.daml.on.sql.MainWithEphemeralPostgresql", - resources = ["//ledger/sandbox-common:src/main/resources/logback.xml"], + resources = ["src/main/resources/logback.xml"], deps = [ ":daml-on-sql", ":daml-on-sql-test-lib", diff --git a/ledger/daml-on-sql/src/main/resources/logback.xml b/ledger/daml-on-sql/src/main/resources/logback.xml new file mode 100644 index 000000000000..319921e2cd5b --- /dev/null +++ b/ledger/daml-on-sql/src/main/resources/logback.xml @@ -0,0 +1,44 @@ + + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %replace(, context: %marker){', context: $', ''} %n + + + + + sandbox.log + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg %mdc%n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ledger/participant-state/kvutils/app/src/main/resources/com/daml/ledger/participant/state/kvutils/app/logback.base.xml b/ledger/participant-state/kvutils/app/src/main/resources/com/daml/ledger/participant/state/kvutils/app/logback.base.xml index 73023cdbcaa9..204db12d08ee 100644 --- a/ledger/participant-state/kvutils/app/src/main/resources/com/daml/ledger/participant/state/kvutils/app/logback.base.xml +++ b/ledger/participant-state/kvutils/app/src/main/resources/com/daml/ledger/participant/state/kvutils/app/logback.base.xml @@ -17,7 +17,7 @@ - +