Add support for suppressing logs due to context cancellation
kodowerd opened this issue · 1 comments
kodowerd commented
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
Related Issues
ivila commented
@kodowerd I think you put the issue in wrong place, you should raise the issue at https://github.com/moul/zapgorm2