diff --git a/ChangeLog b/ChangeLog index 6f5ebe78b..2016a9fdd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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: diff --git a/fail2ban/client/fail2banreader.py b/fail2ban/client/fail2banreader.py index f17ff92be..251c6985c 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]]