Skip to content
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

RHCLOUD-3652 | refactor: reduce noise in the logs #728

Conversation

MikelAlejoBR
Copy link
Member

The "Bad Request", "Not Found" and "Unauthorized" errors were logging the exact same message that was being returned to the callers, without any context. Therefore, they feel more like "access logs" than actual error logs that we should be warned about. And "access logs", if we had them here, should just log "info" statements with all sorts of data about the caller, plus the response that was given to them.

Jira ticket

[RHCLOUD-36529]

The "Bad Request", "Not Found" and "Unauthorized" errors were logging
the exact same message that was being returned to the callers, without
any context. Therefore, they feel more like "access logs" than actual
error logs that we should be warned about. And "access logs", if we had
them here, should just log "info" statements with all sorts of data
about the caller, plus the response that was given to them.

RHCLOUD-36529
@MikelAlejoBR MikelAlejoBR force-pushed the RHCLOUD-36529-reduce-noise-logs branch from 47a4cab to 03488aa Compare November 29, 2024 08:02
@MikelAlejoBR MikelAlejoBR merged commit 91fd76b into RedHatInsights:main Dec 5, 2024
9 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant