hapostgres / hapostgres/pg_auto_failover

Optionaly redirect logs to stdout ?

Open
#389 1 comment 6 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.