PostgreSQL version:

log_replication_commands

Causes each replication command to be logged in the server log. See protocol-replication for more information about replication command. The default value is off. Only superusers can change this setting.

Recommendations

… assuming you're monitoring replication status, which you should.

Comments