Package: fail2ban Version: 0.5.2-1 Severity: wishlist Tags: patch
Attached logrotate config file will cause the fail2ban log file to be rotated like other software's log files, including compression of older logs. Install the file as /etc/logrotate.d/fail2ban and it should just work. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (50, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages fail2ban depends on: ii iptables 1.3.1-2 Linux kernel 2.4+ iptables adminis ii python 2.3.5-2 An interactive high-level object-o -- no debconf information
/var/log/fail2ban.log { rotate 5 weekly compress missingok postrotate /etc/init.d/fail2ban restart endscript }