diff --git a/algo/detector.py b/algo/detector.py index a08aa3a..c5cb408 100644 --- a/algo/detector.py +++ b/algo/detector.py @@ -56,8 +56,8 @@ def check_input(self, value, timestamp): sample_is_anomalous, result = detector.check(value, timestamp) if sample_is_anomalous: - util.logger.info(f"{LOG_PREFIX}: Anomaly occured: Detector={result['type']} Value={result['value']}") result['device_id'] = self.device_id + util.logger.info(f"{LOG_PREFIX}: Anomaly occured: {result}") anomaly_results.append(result) return anomaly_results