-
Notifications
You must be signed in to change notification settings - Fork 754
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
reload not working in tracing-subscriber v0.3.15 #2314
Comments
Thanks for the report! My guess is that this is related to #2204, which is the only change between Do you know if this can be reproduced without actually reloading the |
If i remove Another thing i've noticed is when using |
From what i could see Should this be set to |
* feat: allow reloading tracing filter over http * fix: add missing file from last commit * doc: add tracing config print * Make it compile * Move tracing subscriber and api server from library to main * Add uplinkctl * pin tracing_subscriber tokio-rs/tracing#2314 * Fix cargo lock file --------- Co-authored-by: tekjar <[email protected]> Co-authored-by: bmcpt <[email protected]>
Issue still exists on tracing-subscriber v0.3.18. Looks like the maximum level is set when the tracing-subscriber is initialized and you can never increase it above this level when you reload ie if you initialize with Level::INFO you can decrease it with reload() but can never increase above Level::INFO. Workaround:
|
Bug Report
Version
Platform
Linux LNMX-LPT005 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 13:42:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Crates
tracing-subscriber
and/ortracing_log
Description
When reloading a filter i don't see the log records that were enabled by the filter.
This started with version v0.3.15 of the tracing-subscriber crate, v0.3.14 works.
The features
tracing-log
andenv-filter
are enabled on the tracing-subscriber crateThis is an example:
When running this with tracing-subscriber v0.3.15,
error trace
is shown, but notinfo trace
. WIth eg. version v0.3.14 it showsinfo trace
.The text was updated successfully, but these errors were encountered: