From f52ba9923a1ad44274792f08e9d4ad0ce8dd4c3e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 5 Nov 2012 21:30:07 -0500 Subject: [PATCH] ENH: downgrade "already banned" from WARN to INFO level (Closes gh-79) Most of the time it is a benign latency effect so nothing to warn about. --- server/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/actions.py b/server/actions.py index 3461e672..94344dce 100644 --- a/server/actions.py +++ b/server/actions.py @@ -181,7 +181,7 @@ class Actions(JailThread): action.execActionBan(aInfo) return True else: - logSys.warn("[%s] %s already banned" % (self.jail.getName(), + logSys.info("[%s] %s already banned" % (self.jail.getName(), str(aInfo["ip"]))) return False