-
Notifications
You must be signed in to change notification settings - Fork 19
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
Lager Logger for Filtering Specific Messages #734
Lager Logger for Filtering Specific Messages #734
Conversation
Skipping CI for Draft Pull Request. |
Add one of following labels |
Example of log messages that should be filtered out to INFO:
|
Decided not to filter such logs in the code. |
Description
Current configuration of KEBs broker-api uses errors as a way to return HTTP status code. Such errors are logged with
ERROR
level but they do not interrupt normal application behaviour nor require additional intervention from dev side. The following PR introduces possibility to filter such logs by their message. Errors that are filtered out are redirected to stdout with level changed toINFO
.Changes proposed in this pull request:
Related issue(s)