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

Reduce cancellation sending log level #903

Merged
merged 1 commit into from Aug 9, 2023

Conversation

JelteF
Copy link
Member

@JelteF JelteF commented Jul 25, 2023

This log line was introduced in #666, because that significantly changed
our cancellation logic. But when a client sends many cancellations this
will flood the logs with many identical log lines. To avoid that this
lowers the log level to debug.

Also start using slog_xxx functions instead of log_xxx functions
for easier debugging in forward_cancel_request.

Fixes #901

This log line was introduced in pgbouncer#666, because that significantly changed
our cancellation logic. But when a client sends many cancellations this
will flood the logs with many identical log lines. To avoid that this
lowers the log level to debug.

Also start using `slog_xxx` functions instead of `log_xxx` functions
for easier debugging in `forward_cancel_request`.

Fixes pgbouncer#901
@JelteF JelteF merged commit 27883c4 into pgbouncer:master Aug 9, 2023
23 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.

Weird Message in PGB log
2 participants