From bc8ed60700d10f280ca7a1df02e89e027ecd9609 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko <ilya@netdata.cloud> Date: Wed, 11 May 2022 15:39:33 +0300 Subject: [PATCH] fix(health): change duplicate health template message logging level to 'info' (#12873) --- health/health_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/health/health_config.c b/health/health_config.c index e1f5f0e313..539c418cef 100644 --- a/health/health_config.c +++ b/health/health_config.c @@ -109,7 +109,7 @@ static inline int rrdcalctemplate_add_template_from_config(RRDHOST *host, RRDCAL && !strcmp(t->name, rt->name) && !strcmp(t->family_match?t->family_match:"*", rt->family_match?rt->family_match:"*") )) { - error("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname); + info("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname); return 0; } } @@ -127,7 +127,7 @@ static inline int rrdcalctemplate_add_template_from_config(RRDHOST *host, RRDCAL && !strcmp(t->name, rt->name) && !strcmp(t->family_match?t->family_match:"*", rt->family_match?rt->family_match:"*") )) { - error("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname); + info("Health configuration template '%s' already exists for host '%s'.", rt->name, host->hostname); return 0; } }