This tutorial is available in other languages. Help translate more

Nederlands /

Turn on debug logging in Fail2ban

Attention

Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.

To turn on debug mode in Fail2ban, please set its log level to debug in config file /etc/fail2ban/fail2ban.local, then restart fail2ban service. If file /etc/fail2ban/fail2ban.local doesn't exist, use /etc/fail2ban/fail2ban.conf instead.

loglevel = DEBUG

Log File

Fail2ban may log to different log files on different Linux/BSD distributions: