mirror of
https://github.com/netdata/netdata.git
synced 2025-04-23 04:50:22 +00:00
fix(health): change duplicate health template message logging level to 'info' (#12873)
This commit is contained in:
parent
7365a91a27
commit
bc8ed60700
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue