1.3.1
Logging
The service writes to stdout and stderr. All errors, such as connection errors to pg hosts,
are written to stderr.
Informational messages about service startup and shutdown are written to stdout.
More importantly, information about host status changes is written to stdout:
If a host is dead, the message will be: <host-name>: dead
If a host is revived or becomes a master after failover, the message will be: <host-name>: master
If a host is revived or becomes a replica after failover, the message will be: <host-name>: replica
For replicas, there are also messages about replica synchronicity:
<host-name>: synchronous in time
<host-name>: out of sync in time
<host-name>: synchronous in bytes
<host-name>: out of sync in bytes