You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
998 B
24 lines
998 B
From 432e7e1e93936f09e349e80d94254e5f43d0cc8a Mon Sep 17 00:00:00 2001
|
|
From: "Sergey G. Brester" <serg.brester@sebres.de>
|
|
Date: Mon, 28 Nov 2022 13:21:15 +0100
|
|
Subject: [PATCH] no warning if no config value but default (debug message now)
|
|
|
|
closes #3420
|
|
---
|
|
fail2ban/client/configreader.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/fail2ban/client/configreader.py b/fail2ban/client/configreader.py
|
|
index 1b5a56a27c..c7f965ce52 100644
|
|
--- a/fail2ban/client/configreader.py
|
|
+++ b/fail2ban/client/configreader.py
|
|
@@ -277,7 +277,7 @@ def getOptions(self, sec, options, pOptions=None, shouldExist=False, convert=Tru
|
|
# TODO: validate error handling here.
|
|
except NoOptionError:
|
|
if not optvalue is None:
|
|
- logSys.warning("'%s' not defined in '%s'. Using default one: %r"
|
|
+ logSys.debug("'%s' not defined in '%s'. Using default one: %r"
|
|
% (optname, sec, optvalue))
|
|
values[optname] = optvalue
|
|
# elif logSys.getEffectiveLevel() <= logLevel:
|