BF: fail2ban.conf reader expected "int" type for `loglevel`

Closes #657
pull/663/head
Steven Hiscocks 11 years ago
parent deb59240eb
commit 1470e3c01d

@ -15,6 +15,7 @@ ver. 0.9.1 (2014/xx/xx) - better, faster, stronger
* badips.py action error when logging HTTP error raised with badips request
* fail2ban-regex failed to work in python3 due to space/tab mix
* journalmatch for recidive incorrect PRIORITY
* loglevel couldn't be changed in fail2ban.conf
- New features:

@ -45,7 +45,7 @@ class Fail2banReader(ConfigReader):
return ConfigReader.getOptions(self, "Definition", opts)
def getOptions(self):
opts = [["int", "loglevel", "INFO" ],
opts = [["string", "loglevel", "INFO" ],
["string", "logtarget", "STDERR"],
["string", "dbfile", "/var/lib/fail2ban/fail2ban.sqlite3"],
["int", "dbpurgeage", 86400]]

Loading…
Cancel
Save