Submitted by apt_virtualmin on Tue, 11/01/2016 - 13:19 Pro Licensee
Simple/small issue in the fail2ban module
Global Configuration screen > Minimum logging level The select menu has the option values for the log levels set to numeric values (1,2,3,4) which will cause an error in the fail2ban conf file as it denotes valid values for the log level as
CRITICAL ERROR WARNING NOTICE INFO DEBUG
So the select menu option values simply have to be changed to their text equivalents.
Status:
Closed (works as designed)
Comments
Submitted by JamieCameron on Tue, 11/01/2016 - 21:27 Comment #1
I checked my system, and the docs in
fail2ban.conf
say that the log level should be numeric :# Option: loglevel
# Notes.: Set the log level output.
# 1 = ERROR
# 2 = WARN
# 3 = INFO
# 4 = DEBUG
# Values: NUM Default: 3
#
loglevel = 4
Submitted by apt_virtualmin on Tue, 11/01/2016 - 23:13 Pro Licensee Comment #2
Very odd, my conf does not say that but only lists the text log descriptions. When I manually modified the config file and went back to webmin it now does not throw an error so not sure what changed. It appears the config will accept both numeric and text values for loglevel now. Anyhow sorry about the hassle, very odd that its now fine. I will close
Submitted by apt_virtualmin on Tue, 11/01/2016 - 23:13 Pro Licensee Comment #3