Make the default log level INFO

This ensures that repmgrd outputs a reasonable amount of logging
information at the default log level.
This commit is contained in:
Ian Barwick
2019-02-21 14:43:14 +09:00
parent 243b5d2b48
commit 120dd5b82d
4 changed files with 8 additions and 6 deletions

4
log.c
View File

@@ -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;
/*