Display a couple of repetitive log messages in verbose mode only

This commit is contained in:
Ian Barwick
2016-01-08 11:10:34 +09:00
parent b72058dba8
commit 7e6bac1be6
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ parse_config(t_configuration_options *options)
*/
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"));
return true;
}

View File

@@ -308,7 +308,7 @@ get_master_node_id(PGconn *conn, char *cluster)
}
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;
}
else