From af68f347d45ed69063c2a61972f0f50f4fce09ed Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Fri, 16 Jan 2026 11:49:34 +0000 Subject: [PATCH] fix: Add missing verbosity level to proxy_debug call in Anomaly_Detector The proxy_debug macro requires a verbosity level as the second parameter. Fixed the call in Anomaly_Detector::analyze() to include the level. --- lib/Anomaly_Detector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Anomaly_Detector.cpp b/lib/Anomaly_Detector.cpp index 9ad15bf41..a0fe89055 100644 --- a/lib/Anomaly_Detector.cpp +++ b/lib/Anomaly_Detector.cpp @@ -38,7 +38,7 @@ AnomalyResult Anomaly_Detector::analyze(const std::string& query, const std::str AnomalyResult result; // Stub implementation - Phase 3 will implement full functionality - proxy_debug(PROXY_DEBUG_ANOMALY, "Anomaly: Analyzing query from %s@%s\n", user.c_str(), client_host.c_str()); + proxy_debug(PROXY_DEBUG_ANOMALY, 3, "Anomaly: Analyzing query from %s@%s\n", user.c_str(), client_host.c_str()); result.is_anomaly = false; result.risk_score = 0.0f;