Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1916: fix(log): build tracing `Subscriber` without custom macros + small fixes r=RolandSherwin a=RolandSherwin - fix(log): use vector of `Layers` to build the `Subscriber` - Replaces the macros with a vector containing boxed Layers - chore(testnet): enable otlp feature flag - fix(log): prevent panic when we have multiple tracing subscribers - When we have the `otlp` feature enabled, we effectively have multiple subscribers consuming the logs. - Under rare circumstances, we get a panic with the following msg, `Format: was already formatted once` - Turns out it's because the `itertools::format()` is being called multiple times - Was not able to reproduce the issue with a minimal setup, but this gets rid of the panic. - chore(log): remove unused event formatting option - the `.event_format()` overrides the `.with_thread_names()` option, hence remove it Co-authored-by: RolandSherwin <RolandSherwin@protonmail.com>
- Loading branch information
Showing
5 changed files
with
77 additions
and
78 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
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