New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing log message when using compact formatter #1741
Comments
After upgrading the tracing-subscriber from |
This is definitely broken in 0.3.2. 0.3.1 has the expected behavior. 0.3.2 really should be pulled from crates.io et al. In the meantime, the workarounds are either to use a format other than compact or to set the crate version to |
hawkw
added a commit
that referenced
this issue
Nov 29, 2021
The line of code that prints the event's fields (including its message) was accidentally deleted in 0a16972, while backporting PR #1696 from `master` (where the `Compact` formatter implementation is significantly different). This branch puts it back. Also, I've added tests for the `Compact` formatter's output, to guard against accidentally breaking it in the future. Previously, we only had tests for the `Full` and `Json` formatters. Fixes #1741 Signed-off-by: Eliza Weisman <eliza@buoyant.io>
Fixed by #1755. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
compact
formatter only displaytimestamp
,level
andtarget
. The log content is not displayed.Version
tracing: 0.1.29
tracing-subscriber: 0.3.2
Platform
Linux fedora 33
Crates
tracing-subscriber
Description
Output only
There is no message
The text was updated successfully, but these errors were encountered: