hapostgres / hapostgres/pg_auto_failover
Optionaly redirect logs to stdout ?
Open
- Dominant language
- C
- Stars
- 1.4k
- Forks
- 142
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 1
Description
Hi,
In a container/kubernetes environment, it's a good practice to log only to stdout / stderr.
The logs are then easily collected and aggregated.
it looks like pg_autoctl is redirecting the postgresql child process output to `startup.log` file and configuring postgresql to log to `log` folder.
Would you be interested in a pull request adding a `pg_autoctl create ...` a flag to configure postgresql to log to stdout and redirecting log stream from pg_autoctll to stdout ?
Contributor guide
Assessment
This issue has not been assessed yet.