The official docs recommend adding a logrotate script /var/log/fail2ban.log { daily rotate 7 missingok compress postrotate /usr/local/bin/fail2ban-client reload 1>/dev/null || true endscript } it would be nice to add into the logrotate.d directory with the "logrotate" USE flag, in my opinion
closing since i commited it yesterday, thanks.
(In reply to comment #1) > closing since i commited it yesterday, thanks. > "/usr/local/bin/fail2ban-client" must be "/usr/bin/fail2ban-client"