diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-10-13 22:29:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 22:29:20 +0300 |
commit | 75e26689ce205060fd7870d091e59aa8d106fbd6 (patch) | |
tree | d45e9adf0d5c103dbbab492bfff3f9f46d934497 /health | |
parent | 77e5795e8d09ee6c9798f144ae36242e901ae3b7 (diff) |
Suppress "families" log (#16186)
Diffstat (limited to 'health')
-rw-r--r-- | health/health_config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/health/health_config.c b/health/health_config.c index c9076e5a94..1a730ab91b 100644 --- a/health/health_config.c +++ b/health/health_config.c @@ -1314,7 +1314,8 @@ static int health_readfile(const char *filename, void *data) { SIMPLE_PATTERN_EXACT, true); } else { - netdata_log_error("Health configuration at line %zu of file '%s' for template '%s' has unknown key '%s'.", + if (strcmp(key, "families") != 0) + netdata_log_error("Health configuration at line %zu of file '%s' for template '%s' has unknown key '%s'.", line, filename, rrdcalctemplate_name(rt), key); } } |