[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] splitting the logs



Bruce Timberlake wrote:

> /usr/local/sbin/split_logs

Thanks, Bruce.  It took me a long time to think to look for split_logs
(with the underscore) <frown>.

> which is called from:
> 
> /etc/logrotate.d/proftpd (to split FTP logs)
> /etc/logrotate.d/syslog (to split mail logs)
> /etc/logrotate.d/apache (to split web logs)
> 
> The "master" log for each service is split before rotation.

I finally figured this out as well; in the case of large logs it appears
they have to be split several times a day for webalizer to work
properly.

That was a separate issue than the one that prompted me to make the
post, though.  He had another issue; his logs were being redirected in
/etc/httpd/conf/httpd.conf on the site-container level.  Found and fixed
that, too <smile>.

Thanks for your help.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Internet & Unix/Linux/Sun/Cobalt Consulting +1 909 778-9980
Our jblists address used on lists is for list email only
To contact us offlist: "http://www.nobaloney.net/contactus.html";