From 44d810fbd2f88e5af2abb2666dee91036932d828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 18 Aug 2018 16:31:17 +0200 Subject: [PATCH] Reduce lo verbosity for Galera checks --- lib/MySQL_HostGroups_Manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/MySQL_HostGroups_Manager.cpp b/lib/MySQL_HostGroups_Manager.cpp index 7c6c91f3c..1b6ef09a0 100644 --- a/lib/MySQL_HostGroups_Manager.cpp +++ b/lib/MySQL_HostGroups_Manager.cpp @@ -4017,7 +4017,9 @@ void MySQL_HostGroups_Manager::update_galera_set_writer(char *_hostname, int _po } wrunlock(); } else { - proxy_warning("Galera: skipping setting node %s:%d from hostgroup %d as writer because won't change the list of ONLINE nodes in writer hostgroup\n", _hostname, _port, _writer_hostgroup); + if (GloMTH->variables.hostgroup_manager_verbose > 1) { + proxy_warning("Galera: skipping setting node %s:%d from hostgroup %d as writer because won't change the list of ONLINE nodes in writer hostgroup\n", _hostname, _port, _writer_hostgroup); + } } GloAdmin->mysql_servers_wrunlock(); free(query);