Re: [us...@httpd] Distributed logging

2010-11-16 Thread Igor Galić

- "Dennis Jacobfeuerborn"  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.ga...@brainsware.org
URL: http://brainsware.org/

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



Re: [us...@httpd] Distributed logging

2010-11-16 Thread iñigo medina
What about logging to a central NFS server? Too slow or heavy?

iñ
El 15/11/2010 22:06, "Dennis Jacobfeuerborn" 
escribió:


[us...@httpd] Distributed logging

2010-11-15 Thread Dennis Jacobfeuerborn

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?

Regards,
  Dennis

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