5 ## this script searches a bunch of paths to find logfiles, and then
6 ## greps through the logfiles for matches
7 (sudo -u debbugs find /srv/bugs.debian.org/mail/ -iname '.logfile*' -ctime -$DAYS -print0;
8 find /var/log/exim4/ -iname 'mainlog*' -ctime -$DAYS -print0;
9 sudo -u debbugs find /srv/bugs.debian.org/log -iname 'spamscan*' -ctime -$DAYS -print0;
10 sudo -u debbugs find /srv/bugs.debian.org/log -iname 'process*' -ctime -$DAYS -print0;
11 )|xargs -0 grep -C 5 "$1"