summaryrefslogtreecommitdiffstats
path: root/ml/Config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ml/Config.cc')
-rw-r--r--ml/Config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ml/Config.cc b/ml/Config.cc
index c00d2e8e..f733bcf7 100644
--- a/ml/Config.cc
+++ b/ml/Config.cc
@@ -83,7 +83,7 @@ void ml_config_load(ml_config_t *cfg) {
*/
if (min_train_samples >= max_train_samples) {
- error("invalid min/max train samples found (%u >= %u)", min_train_samples, max_train_samples);
+ netdata_log_error("invalid min/max train samples found (%u >= %u)", min_train_samples, max_train_samples);
min_train_samples = 1 * 3600;
max_train_samples = 6 * 3600;