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

Allow postgres stderr to output use the same file handles #896

Merged
merged 1 commit into from
Dec 21, 2018

Conversation

snooc
Copy link
Contributor

@snooc snooc commented Dec 14, 2018

Starting in Patroni 1.5.0 the "pg_ctl_start" process started to pipe stderr to stdout. In previous versions, the "pg_ctl_start" process and Postgres both inherited stderr from the main Patroni process

Inheriting stderr from the main Patroni process allows all Postgres logs to be seen along with all patroni logs. This is very useful in a container environment as Patroni and Postgres logs may be consumed using standard tools (docker logs, kubectl, etc).

This PR removes the pipe from stderr to stdout.

@CyberDem0n
Copy link
Member

Merged, thank you!

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.

2 participants