@cryptotaxi247 / netdata-1 / commits / bc8ed6070

fix(health): change duplicate health template message logging level to 'info' (#12873)

Ilya Mashchenko committed May 11, 2022 at 15:39 UTC bc8ed60700d10f280ca7a1df02e89e027ecd9609
1 file changed +2 -2
health/health_config.c
+2 -2
@@ -109,7 +109,7 @@ static inline int rrdcalctemplate_add_template_from_config(RRDHOST *host, RRDCAL
109 && !strcmp(t->name, rt->name)
110 && !strcmp(t->family_match?t->family_match:"*", rt->family_match?rt->family_match:"*")
111 )) {
112 - error("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname);
112 + info("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname);
113 return 0;
114 }
115 }
@@ -127,7 +127,7 @@ static inline int rrdcalctemplate_add_template_from_config(RRDHOST *host, RRDCAL
127 && !strcmp(t->name, rt->name)
128 && !strcmp(t->family_match?t->family_match:"*", rt->family_match?rt->family_match:"*")
129 )) {
130 - error("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname);
130 + info("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname);
131 return 0;
132 }
133 }