Re: Distributed logging

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

 



----- "Dennis Jacobfeuerborn" <dennisml@xxxxxxxxxxxx> wrote:

> Hi,
> what is the best way to handle the logging of multiple Apache
> instances? 
> I'm looking for a way to have say 10 Apache servers efficiently log to
> 
> central location so I can analyze the aggregated log-data there.
> I've seen mod_log_spread but the last changelog entry is from 2006 so
> I'm 
> not sure if this is still recommended and I've also looked at gearman
> but I 
> was hoping for something less complex at least for now.
> What are the recommended options here?

These days there's Facebook's scribe:
https://github.com/facebook/scribe

While spread is, or seems deserted, this project is.. young.
Also, unless we're talking about 1,000 or 10,000 it's probably
overkill.

You might be able to get something done with Syslog, something
in the fashion of:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
CustomLog "|| logger -t httpd_name -p daemon.info" vhost_combined
ErrorLog "|| logger -t httpd_name -p daemon.error"

Then have them sent to your host and aggregated via (r)syslog(-ng)

> Regards,
>    Dennis

So long,
i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux