Pflogsumm issues

Discussion in 'HOWTO-Related Questions' started by Chumley, Jul 16, 2008.

  1. Ovidiu

    Ovidiu Active Member

    I solved this issue by not rotating any logs since I changed my cron job to look like this:

    Code:
    /usr/local/bin/pflogsumm -u 5 -h 5 --problems_first -d today /var/log/mail.log | mail -s "pflogsumm report `date`" root
    notice the "today" part? that means only stuff from the same day is proccessed so I don't care about any log rotation anymore.
     

Share This Page