Browse Source

no warning if no config value but default (debug message now)

closes #3420
pull/3421/head
Sergey G. Brester 2 years ago committed by GitHub
parent
commit
432e7e1e93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      fail2ban/client/configreader.py

2
fail2ban/client/configreader.py

@ -277,7 +277,7 @@ class ConfigReaderUnshared(SafeConfigParserWithIncludes):
# 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:

Loading…
Cancel
Save