Chris wrote: > I've setup logrotate to rotate my /var/log/snort/session.log daily and mail > it to me. For some reason its being rotated but not but the old log isn't > being mailed, however, I have the same setup for rkhunter that sends me the > output of rkhunter after its run as a cron job and before its compressed. > Below are my settings: > > # system-specific logs may be configured here > /var/log/rkhunter.log { > daily > rotate 5 > nocreate > maillast > mail [EMAIL PROTECTED] > } > > /var/log/snort/session.log { > daily > rotate 5 > nocreate > maillast > mail [EMAIL PROTECTED] > } > > Any ideas? >
How long have you been running the snort/session.log rotate if rotated 5 times, once daily would take 6 days i think till last log to expire and be mailed? Just a guess. Mike
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________