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

[bitnami/postgresql-repmgr] redirect csvlog and jsonlog to stdout #75910

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

Conversation

yukha-dw
Copy link
Contributor

@yukha-dw yukha-dw commented Dec 26, 2024

Description of the change

Redirect $POSTGRESQL_LOG_DIR/postgresql.csv and $POSTGRESQL_LOG_DIR/postgresql.json to stdout

Benefits

Being able to get logs even when using log_destination=jsonlog or log_destination=csvlog

Possible drawbacks

repmgr & pg_ctl logs are still logged as plain text

Applicable issues

None

Additional information

When adding log_destination=jsonlog to postgresql.extendedConf on postgresql-ha charts, my deployment is stuck at "Starting PostgreSQL in background...", currently I'm checking if there's any compatibility issue. Update: Unreproducible

@yukha-dw yukha-dw force-pushed the feat/postgresql-repmgr/csvlog-jsonlog branch from 3bb5e53 to 9d73e4a Compare December 26, 2024 04:45
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Dec 26, 2024
@github-actions github-actions bot removed the triage Triage is needed label Dec 26, 2024
@github-actions github-actions bot removed the request for review from carrodher December 26, 2024 08:05
@github-actions github-actions bot requested a review from migruiz4 December 26, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress postgresql-repmgr verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants