commit 1470e3c01d49841335e11ed7ca7898516d1b8be8 Author: Steven Hiscocks Date: Wed Mar 19 19:09:07 2014 +0000 BF: fail2ban.conf reader expected "int" type for `loglevel` Closes #657 diff --git a/fail2ban/client/fail2banreader.py b/fail2ban/client/fail2banreader.py index f17ff92..251c698 100644 --- a/fail2ban/client/fail2banreader.py +++ b/fail2ban/client/fail2banreader.py @@ -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]]