You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we only capture the error code on a postgres process start, like:
PostgreSQL server exited with code 256
This is a problem in the case of a postgres process failing to start before it can log to postgres.log because then there's no way to see the failure message, which would be printed to stderr.
In one case, we got lucky and could run the full postgres command on the command line itself...
It may be possible to deal with this by altering class PgWrapper to do an append-redirect (2>>) to <processname>_<pid>.STDERR (pid to differentiate different instantiations of the same process) in the log directory at the time of creating the process, and then tools might transparently pick it up.
Jira Link: DB-552
Description
Currently, we only capture the error code on a postgres process start, like:
This is a problem in the case of a postgres process failing to start before it can log to
postgres.log
because then there's no way to see the failure message, which would be printed to stderr.In one case, we got lucky and could run the full postgres command on the command line itself...
Showing us the actual issue...
so it would be great if we could capture the stderr of postgres process failures to speed resolution of this type of issue.
The text was updated successfully, but these errors were encountered: