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

Closed

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

Signed-off-by: Yukha Dharmeswara <yukha.dw@samsung.com>
@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
Copy link

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Jan 16, 2025
@yukha-dw
Copy link
Contributor Author

Bump

@github-actions github-actions bot removed the stale 15 days without activity label Jan 17, 2025
Copy link

github-actions bot commented Feb 1, 2025

This Pull Request has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thank you for your contribution.

@github-actions github-actions bot added the stale 15 days without activity label Feb 1, 2025
Copy link

github-actions bot commented Feb 7, 2025

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Pull Request. Do not hesitate to reopen it later if necessary.

@github-actions github-actions bot added the solved label Feb 7, 2025
@bitnami-bot bitnami-bot added stale 15 days without activity and removed stale 15 days without activity labels Feb 7, 2025
@bitnami-bot bitnami-bot closed this Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql-repmgr solved stale 15 days without activity verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants