Re: logging clusters
| From: | Tamas Amon | Date: | Sat, 09 Dec 2000 02:05:07 +0000 |
| Subject: | Re: logging clusters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29442@lists.php.net to get a copy of this message | ||
Hello Alex Black,
Saturday, December 09, 2000, 12:34:57 AM, you wrote:
> hi all,
> I wanted to bring up the subject of logging webserver clusters, and see what
> people thing the best way to do it is:
> -turn off apache logging, and use PHP to log in real-time to a database
> (dangerous if you are running a large site, although I suppose you could run
> a separate logging Dbserver)
> -keep normal apache logs, and have a PHP script which periodically
> uploads them to a central admin machine (icky)
> -keep normal apache logs, and use a set of cron'd shell scripts to send
> them to an admin machine where you run a special admin console that combines
> + analyzes them.
I think, this last is the best way. You can use rsync for the
syncronize from the admin server, and this script can make a sort from
it. It looks like very easy with the sort command.
--
Best regards,
Tamas Amon mailto:sajt@amon.hu