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

Re: [cobalt-users] How to regenerate site log files



Lonnie,

> Could someone tell me what command/script I need to run to regenerate my
log
> files to bring them current? I'm thinking it's a cron job script called
> logrotate, but when ever I run it I don't see a change. Is this the right
> script? If so what am I missing here?

So long as your main access /var/log/httpd/access) file hasn't been rotated,
you can regenerate/update the sites web.log files by issuing the following
from root:

/usr/local/sbin/split_logs web < /var/log/httpd/access

Regards,
Jonathan Michaelson

Commercial Perl CGI Scripting