[ic] Rotate Logs and Interchange Log Files
Grant
listbox at email.com
Mon Sep 22 10:07:32 EDT 2003
> I was wondering if anybody has tried using rotate logs on the error.log
> and tracking.asc from interchange?
I can't tell from your message if you're wondering how to rotate logs or if
you're wondering how log rotation works on the mentioned files, but if it's
the former, this should help:
crontab:
###
0 7 * * * logrotate
/usr/local/psa/home/vhosts/user/logrotate.cfg+
###
logrotate.cfg:
###
errors my at email.com
/usr/local/psa/home/vhosts/user/catalogs/*/error.log
/usr/local/psa/home/vhosts/user/catalogs/*/logs {
rotate 7
weekly
endscript
}
/usr/local/psa/home/vhosts/user/catalogs/
###
This is from the archives, and I haven't actually used it.
- Grant
More information about the interchange-users
mailing list