diff --git a/HISTORY b/HISTORY index 158840cc..2187630f 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,7 @@ -3.4.0 2019-02 +3.4.0 2019-02- + default log level is now INFO repmgr: fix `standby register --force` when updating existing node record (Ian) + repmgrd: set LSN shared memory value at standby startup (Ian) 3.3.2 2017-06-01 Add support for PostgreSQL 10 (Ian) diff --git a/config.c b/config.c index d3a2140e..fabeffa5 100644 --- a/config.c +++ b/config.c @@ -59,7 +59,7 @@ progname(void) * added/changed in reload_config() * * NOTE: this function is called before the logger is set up, so we need - * to handle the verbose option ourselves; also the default log level is NOTICE, + * to handle the verbose option ourselves; also the default log level is INFO, * so we can't use DEBUG. */ bool diff --git a/log.c b/log.c index b16676ac..fc5c2541 100644 --- a/log.c +++ b/log.c @@ -44,8 +44,8 @@ static void _stderr_log_with_level(const char *level_name, int level, const char __attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0))); int log_type = REPMGR_STDERR; -int log_level = LOG_NOTICE; -int last_log_level = LOG_NOTICE; +int log_level = LOG_INFO; +int last_log_level = LOG_INFO; int verbose_logging = false; int terse_logging = false; /* diff --git a/repmgr.conf.sample b/repmgr.conf.sample index 528838e0..23f1093b 100644 --- a/repmgr.conf.sample +++ b/repmgr.conf.sample @@ -66,8 +66,8 @@ # ------------------------------- # Log level: possible values are DEBUG, INFO, NOTICE, WARNING, ERR, ALERT, CRIT or EMERG -# (default: NOTICE) -#loglevel=NOTICE +# (default: INFO) +#loglevel=INFO # Note that logging facility settings will only apply to `repmgrd` by default; # `repmgr` will always write to STDERR unless the switch `--log-to-file` is