Re: Re: [PHP] logging clusters
| From: | Chris Carbaugh | Date: | Sat, 09 Dec 2000 02:52:39 +0000 |
| Subject: | Re: Re: [PHP] logging clusters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29447@lists.php.net to get a copy of this message | ||
What about the remote logging facilities of syslog?
At least that way you don't have to worry about transferring data to an
'admin' machine.
I've never done it, but I'm sure apache can utilize syslog.
chris
On Sat, 9 Dec 2000, Tamas Amon wrote:
> Date: Sat, 9 Dec 2000 03:05:07 +0100
> To: php-general@lists.php.net
> From: Tamas Amon <sajt@amon.hu>
> Reply-To: Tamas Amon <sajt@amon.hu>
> Subject: Re: [PHP] logging clusters
>
> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
--
"What's the Constitution between friends?" - TIMOTHY J. CAMPBELL -
Response to President Cleveland, who refused to support a bill because
it was unconstitutional