From d8b83ff300bc7a6ae2179779bb4b27d3f8626771 Mon Sep 17 00:00:00 2001 From: Tudor Voicu Date: Mon, 1 Nov 2021 16:54:18 +0100 Subject: [PATCH] Less logging on //docs:generate-error-codes-json CHANGELOG_BEGIN CHANGELOG_END --- ledger/error/BUILD.bazel | 1 + ledger/error/src/main/resources/logback.xml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 ledger/error/src/main/resources/logback.xml diff --git a/ledger/error/BUILD.bazel b/ledger/error/BUILD.bazel index 4c2808afb112..8f854b87288e 100644 --- a/ledger/error/BUILD.bazel +++ b/ledger/error/BUILD.bazel @@ -12,6 +12,7 @@ da_scala_binary( name = "export-error-codes-json-app", srcs = [], main_class = "com.daml.error.generator.Main", + resources = glob(["src/main/resources/**/*"]), visibility = ["//visibility:public"], deps = [ "//ledger/error", diff --git a/ledger/error/src/main/resources/logback.xml b/ledger/error/src/main/resources/logback.xml new file mode 100644 index 000000000000..8e18b6102a49 --- /dev/null +++ b/ledger/error/src/main/resources/logback.xml @@ -0,0 +1,16 @@ + + + + System.err + + trace + + + %date{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", UTC} %-5level %logger{5}@[%-4.30thread] - %msg%n + + + + + + +