On 08/05/06 8:10, "patricko (at mark) staff.singnet.com.sg"
<patricko (at mark) staff.singnet.com.sg> wrote:
> There isnt any vsite log rotation in current code base
Not to my knowledge.
We've put this in cron.monthly:
#### SCRIPT START ####
#!/bin/bash
DISABLED=0
DAYSTOKEEP=365
PATH=/home/sites/*/logs/
if [ $DISABLED = 1 ]; then
exit
fi
find $PATH -mtime +$DAYSTOKEEP -exec rm {} \;
#### SCRIPT END ####
This would 'purge' logs for all vsites older than one year. It's easily
disabled (DISABLED=1)
--
Rene Molsted