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

Add support for suppressing logs due to context cancellation #7218

Closed
kodowerd opened this issue Oct 2, 2024 · 1 comment
Closed

Add support for suppressing logs due to context cancellation #7218

kodowerd opened this issue Oct 2, 2024 · 1 comment
Assignees
Labels
type:feature_request feature request

Comments

@kodowerd
Copy link

kodowerd commented Oct 2, 2024

Describe the feature

Logs due to context cancellation are currently logged at error level.
As a consequence of this, our logs get full due to query cancellation by web clients.
Can we have a flag that disables err logs triggered due to conext cancellation.
Alternatively, is there a way to suppress these on my end? Thanks!

Motivation

Reference to our error sentries for the kind of errors I'm trying to suppress
sentries

Related Issues

@github-actions github-actions bot added the type:feature_request feature request label Oct 2, 2024
@ivila
Copy link
Contributor

ivila commented Oct 8, 2024

@kodowerd I think you put the issue in wrong place, you should raise the issue at https://github.com/moul/zapgorm2

@jinzhu jinzhu closed this as completed Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature_request feature request
Projects
None yet
Development

No branches or pull requests

3 participants