Suppress "families" log (#16186)
Stelios Fragkakis committed
Oct 13, 2023 at 22:29 UTC
75e26689ce205060fd7870d091e59aa8d106fbd6
1 file changed
+2
-1
health/health_config.c
+2
-1
@@ -1314,7 +1314,8 @@ static int health_readfile(const char *filename, void *data) {
1314
SIMPLE_PATTERN_EXACT, true);
1315
}
1316
else {
1317
- netdata_log_error("Health configuration at line %zu of file '%s' for template '%s' has unknown key '%s'.",
1317
+ if (strcmp(key, "families") != 0)
1318
+ netdata_log_error("Health configuration at line %zu of file '%s' for template '%s' has unknown key '%s'.",
1319
line, filename, rrdcalctemplate_name(rt), key);
1320
}
1321
}