8000 Disable log_statements when --hide-queries-in-logs is used by blogh · Pull Request #433 · dalibo/pg_activity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Disable log_statements when --hide-queries-in-logs is used #433

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

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

blogh
Copy link
Collaborator
@blogh blogh commented Apr 14, 2025

We only disable log_min_duration_statement and log_min_duration_sample. when --hide-queries-in-logs which leaves us with tracs from log_statements. This aptch fixes that.

Authored by Kouber Saparev

Copy link
Member
@dlax dlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; can you add an entry in changelog file?

We only `disable log_min_duration_statement` and
`log_min_duration_sample` when `--hide-queries-in-logs` is used  which
leaves us with traces from `log_statements`.  This patch fixes that.

Auhtored by Kouber Saparev
@blogh blogh force-pushed the fix_hide_queries_in_logs branch from 42ff771 to 26b4b11 Compare April 15, 2025 07:17
@blogh blogh merged commit 643c1f1 into dalibo:master Apr 15, 2025
@kouber
Copy link
kouber commented Apr 15, 2025

Cheers.

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.

3 participants
0