hi all, i use debian potato 2.2r4 with kernel 2.4.18
i want daemon.log rotated 1x per month and keep compressed files 6 months .... so this is my logrotate.conf file : ---------------------------------------------------------------------------------------------------------------------- monthly # keep 4 weeks worth of backlogs rotate 6 # send errors to root errors root # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed compress # RPM packages drop log rotation information into this directory include /etc/logrotate.d # no packages own wtmp or btmp -- we'll rotate them here /var/log/wtmp { monthly create 0664 root utmp rotate 1 } /var/log/btmp { missingok monthly create 0664 root utmp rotate 1 } /var/log/syslog { weekly rotate 7 } /var/log/daemon.log { monthly rotate 6 } ------------------------------------------------------------------------------------------------ and this is what i get : 17984 -rw-r----- 1 root adm 18389771 Jun 4 14:16 daemon.log 51412 -rw-r----- 1 root adm 52586881 Jun 4 06:26 daemon.log.0 3696 -rw-r----- 1 root adm 3776667 Jun 3 06:26 daemon.log.1.gz 3372 -rw-r----- 1 root adm 3445842 Jun 2 06:48 daemon.log.2.gz 3736 -rw-r----- 1 root adm 3819965 Jun 1 06:28 daemon.log.3.gz 3824 -rw-r----- 1 root adm 3909658 May 31 06:28 daemon.log.4.gz 3784 -rw-r----- 1 root adm 3866802 May 30 06:28 daemon.log.5.gz 4036 -rw-r----- 1 root adm 4126757 May 28 06:28 daemon.log.6.gz 3736 -rw-r----- 1 root root 3819965 Jun 3 09:07 daemon.log.7.gz any idea why my conf is not respected ?? thx 4 any help. José. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]