mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
caa8025788
changelog_begin changelog_end Adding Logback to the runtime dependencies allows to avoid having logging noise when building this due to the missing logger implementation. Before: ``` > bazel build //daml-lf/encoder:testing-dar-1.12 INFO: Invocation ID: fd46d196-8780-4b3a-9c23-41501a4668d2 INFO: Analyzed target //daml-lf/encoder:testing-dar-1.12 (1 packages loaded, 27 targets configured). INFO: Found 1 target... INFO: From Executing genrule //daml-lf/encoder:testing-dar-1.12: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Target //daml-lf/encoder:testing-dar-1.12 up-to-date: bazel-bin/daml-lf/encoder/test-1.12.dar INFO: Elapsed time: 0.365s, Critical Path: 0.01s INFO: 5 processes: 1 remote cache hit, 4 internal. INFO: Build completed successfully, 5 total actions ``` After: ``` > bazel build //daml-lf/encoder:testing-dar-1.12 INFO: Invocation ID: d79a9df8-8243-49db-bd67-56a4f53ca746 INFO: Analyzed target //daml-lf/encoder:testing-dar-1.12 (1 packages loaded, 27 targets configured). INFO: Found 1 target... Target //daml-lf/encoder:testing-dar-1.12 up-to-date: bazel-bin/daml-lf/encoder/test-1.12.dar INFO: Elapsed time: 0.332s, Critical Path: 0.01s INFO: 5 processes: 1 remote cache hit, 4 internal. INFO: Build completed successfully, 5 total actions ``` Notice the lack of SLF4J warnings. See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel |