mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
Display a couple of repetitive log messages in verbose mode only
This commit is contained in:
2
config.c
2
config.c
@@ -244,7 +244,7 @@ parse_config(t_configuration_options *options)
|
|||||||
*/
|
*/
|
||||||
if (config_file_found == false)
|
if (config_file_found == false)
|
||||||
{
|
{
|
||||||
log_notice(_("no configuration file provided and no default file found - "
|
log_verbose(LOG_NOTICE, _("no configuration file provided and no default file found - "
|
||||||
"continuing with default values\n"));
|
"continuing with default values\n"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ get_master_node_id(PGconn *conn, char *cluster)
|
|||||||
}
|
}
|
||||||
else if (PQntuples(res) == 0)
|
else if (PQntuples(res) == 0)
|
||||||
{
|
{
|
||||||
log_warning(_("get_master_node_id(): no active primary found\n"));
|
log_verbose(LOG_WARNING, _("get_master_node_id(): no active primary found\n"));
|
||||||
retval = NODE_NOT_FOUND;
|
retval = NODE_NOT_FOUND;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user