[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] How to regenerate site log files
- Subject: Re: [cobalt-users] How to regenerate site log files
- From: "Jonathan Michaelson" <michaelsonjd@xxxxxxxxxxx>
- Date: Mon Apr 9 18:35:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
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