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

Stop logging notices and repeating log messages #378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcoslot
Copy link
Collaborator

Currently, the pg_cron scheduler repeats every message that it receives from a background worker as LOG, and every message that it receives from a libpq connection to stderr. Neither is very practical in production environments with procedures that might throw a lot of notices.

This PR proposes to suppress notices altogether and to avoid repeating warnings, which the original process already logged.

Fixes #350

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.

pg_cron writing every client_min_messages to log file
1 participant