Add configuration option "log_status_interval"

Normally (outside of log level DEBUG) repmgrd doesn't generate any
kind of log output, so examining the log file may give the impression
it's not working. Output an informational message at regular intervals
to show it's up and running.
This commit is contained in:
Ian Barwick
2017-07-03 12:14:52 +09:00
parent 34c746fcde
commit 18b40be7f1
6 changed files with 64 additions and 7 deletions

View File

@@ -77,7 +77,8 @@
# syslog integration, one of LOCAL0, LOCAL1, ..., LOCAL7, USER
#log_file='' # stderr can be redirected to an arbitrary file:
#log_status_interval=300 # interval (in seconds) for repmgrd to log a message confirming
# its current status; setting to 0 disables this message
#------------------------------------------------------------------------------
# Event notification settings