forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace NamedLoggerFactory (digital-asset#4097)
* Replace NamedLoggerFactory CHANGELOG_BEGIN CHANGELOG_END * Recover change lost in rebase * Address digital-asset#4045 (comment) * Address digital-asset#4045 (comment) * Address two open review comments Address digital-asset#4045 (comment) Address digital-asset#4045 (comment) * Address outstanding compilation errors * Replace mocking with in-memory log collector * Address digital-asset#4097 (review) * Address digital-asset#4045 (comment) The generation of code to have logging in the services has been replaced by helpers classes. This will allow to enrich the context received at construction by the service implementations. * Use ContextualizedLogger for TrackerMap * Remove deleted logging packages from artifacts.yaml * Remove remaining deleted artifact from artifacts.yaml * Address digital-asset#4097 (comment) * Address digital-asset#4097 (comment) * Address digital-asset#4097 (comment) * Address digital-asset#4097 (comment) * Annotate type of references to logErrorOnCall * Address digital-asset#4097 (comment)
- Loading branch information
1 parent
b0ade66
commit 1ad7d6c
Showing
71 changed files
with
795 additions
and
1,963 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
8 changes: 5 additions & 3 deletions
8
ledger/api-server-damlonx/reference-v2/src/test/resources/logback-test.xml
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="INDEXER" class="com.daml.ledger.api.server.damlonx.reference.v2.IndexerIT$Appender" /> | ||
<appender name="MEM" class="com.digitalasset.platform.testing.LogCollector"> | ||
<test>com.daml.ledger.api.server.damlonx.reference.v2.IndexerIT</test> | ||
</appender> | ||
|
||
<logger name="com.digitalasset.platform.indexer.RecoveringIndexer:IndexerIT" level="INFO"> | ||
<appender-ref ref="INDEXER" /> | ||
<logger name="com.digitalasset.platform.indexer.RecoveringIndexer" level="INFO"> | ||
<appender-ref ref="MEM" /> | ||
</logger> | ||
|
||
</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
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
37 changes: 0 additions & 37 deletions
37
...i-common/src/main/scala/com/digitalasset/platform/common/logging/NamedLoggerFactory.scala
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...on/src/main/scala/com/digitalasset/platform/common/logging/SimpleNamedLoggerFactory.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.