tomMoulard / fail2ban

Traefik plugin on fail2ban middleware
MIT License
191 stars 10 forks source link

fix: fix logger output #79

Closed tomMoulard closed 9 months ago

dberardo-com commented 1 month ago

may i ask why the README was completely rewritten from v0.6.6 ? i did find the previous version of the README more informative, also when it came to the log level.

also a question: is it possible to have the information about which IPs have been banned in the INFO log level? i believe DEBUG is too verbose, but INFO is not adding any real value compared to NONE, so perhaps would be better to output only the BAN and UNBAN events in the INFO level as well.

also IMO it would be nice if the plugin was outputting some stats info from times to times, something like "[jail-name] currently 120 IPs banned". Where jail-name would be the name of the ingress / ingressRoute that caused the ban.