-
Notifications
You must be signed in to change notification settings - Fork 273
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
Change verbosity of state machine logs to trace
#1597
Conversation
This changes the verbosity of messages like `transitioned to starting` from the `info` level to the `trace` level since messages about the state machine aren't necessary user-facing information during normal operation. Closes #1578
This comment has been minimized.
This comment has been minimized.
tracing::info!("transitioned to {}", &new_state); | ||
tracing::trace!("transitioned to {}", &new_state); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@o0Ignition0o seemed okay with debug
in his comment on the original issue. I considered it.
My claim would be that it's better to make things more verbose if necessary and bury as much extra distraction as we can unless it's proven consistently necessary to make it louder at less-noisy levels.
I think we can merge this once the NEXT_CHANGELOG conflict is dealt with |
This changes the verbosity of messages like
transitioned to starting
fromthe
info
level to thetrace
level since messages about the state machinearen't necessary user-facing information during normal operation.
I waffled a bit on whether this should be
trace
ordebug
. To some degree this seems like deeper inards of the Router than most people should ever need to encounter. Since I think debugging the state machine might be a a particularly detailed operation in the general sense, I chose to usetrace
since it's my undersatnding the user can still use other log/env filters to tune the scope of what they're receiving log messages for, even at thetrace
level.Anyway, I'm happy to change it to
debug
— just say the word.Closes #1578