-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Reintroduce Filtered Logging #8752
Comments
I have a pr that is mostly completed, just need to fix some tests. Will open tomorrow when I can complete it |
Yeah I tend to agree. I have found it helpful to narrow down to just the section of logs I'm actually interested in |
The There's a bug in the implementation that I spotted, where if you create a filter on something that isn't later specified as a field to a I think the way to implement this ontop of zerolog is to have the filtering use zerolog's message/level hook system which can be used to noop the message, rather than forward port the filtering shim as in #9067. |
@alexanderbez and @ValarDragon are there any substantial differences between what you want in v0.37 and what's already available in v0.34 in terms of filtered logging specifically? For more general logging-related improvements that aren't related to filtered logging, please comment in #9076. |
This was for 0.35 so I think it can be closed |
Summary
The logger was refactored to use zerolog along with removing filtered logging in PR #6534
Problem Definition
Operators have expressed enough strong interest over time since the aforementioned PR to re-introduce filtered logging as it's removal introduces a massive burden to them when debugging or investing their logs.
Proposal
Add support for filtered logging by keeping the logging logic as-is but adding the filtering methods that were removed in #6534 back in.
cc @ValarDragon I know this will make you very happy :P
For Admin Use
The text was updated successfully, but these errors were encountered: