Rename "logxxx" configuration file parameters to "log_xxx"

This is more consistent with other parameters and conforms to
the pattern used by PostgreSQL itself, which uses the prefix "log_"
for logging parameters.

A warning will be emitted if the old version of the parameter name
is detected.
This commit is contained in:
Ian Barwick
2017-07-03 10:28:56 +09:00
parent debe5a18c5
commit 34c746fcde
10 changed files with 81 additions and 45 deletions

View File

@@ -70,13 +70,14 @@
# This is mainly intended for those cases when `repmgr` is executed directly
# by `repmgrd`.
#loglevel=NOTICE # Log level: possible values are DEBUG, INFO, NOTICE,
#log_level=INFO # Log level: possible values are DEBUG, INFO, NOTICE,
# WARNING, ERROR, ALERT, CRIT or EMERG
#logfacility=STDERR # Logging facility: possible values are STDERR or - for
# Syslog integration - one of LOCAL0, LOCAL1, ..., LOCAL7, USER
#log_facility=STDERR # Logging facility: possible values are STDERR, or for
# syslog integration, one of LOCAL0, LOCAL1, ..., LOCAL7, USER
#log_file='' # stderr can be redirected to an arbitrary file:
#logfile='' # stderr can be redirected to an arbitrary file:
#------------------------------------------------------------------------------
# Event notification settings