From 4e63a10f4ce773f1a861e30edeca931cf06f9bc4 Mon Sep 17 00:00:00 2001 From: sabban Date: Wed, 16 Oct 2024 09:53:19 +0200 Subject: [PATCH] adjust logging --- lib/crowdsec.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/crowdsec.lua b/lib/crowdsec.lua index a1df26e..e9f45e2 100644 --- a/lib/crowdsec.lua +++ b/lib/crowdsec.lua @@ -218,8 +218,6 @@ function csmod.GetCaptchaBackendKey() end local function SetupStream() - -- wip: debug - ngx.log(ngx.INFO, "SetupStream" .. runtime.conf["API_URL"]) -- if it stream mode and startup start timer if runtime.conf["API_URL"] == "" then return @@ -261,8 +259,6 @@ local function SetupStream() end runtime.timer_started = true ngx.log(ngx.DEBUG, "Timer launched") - --wip debug - ngx.log(ngx.INFO, "Timer launched") end end @@ -365,7 +361,6 @@ function csmod.allowIp(ip) runtime.conf["SSL_VERIFY"], runtime.conf["BOUNCING_ON_TYPE"] ) - -- debug: wip ngx.log(ngx.DEBUG, "live_query: " .. ip .. " | " .. (ok and "not banned with" or "banned with") .. " | " .. tostring(remediation) .. " | " .. tostring(origin) .. " | " .. tostring(err)) if remediation ~= nil and remediation ~= "none" then metrics:increment(origin,1)