debops / ansible-fail2ban

Install and configure fail2ban service
GNU General Public License v3.0
38 stars 14 forks source link

Fix loglevel error in fail2ban logs. #8

Closed prahal closed 8 years ago

prahal commented 8 years ago

Numeral loglevels are not supported. THe jail.conf manpage advertises : CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG. Default: ERROR

This fix the following error message from fail2ban logs (even though fail2ban startup succeed. I expect it to fallback to the default loglevel).

fail2ban-client[11818]: ERROR NOK: ('Invalid log level',)