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.
pull/5310/head
Rene Cannao 4 months ago
parent 4f45c25945
commit af68f347d4

@ -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;

Loading…
Cancel
Save