Async n/w logging

Is there some module that tries to log messages (access log) over the
network by plugging into the core event loop?

I am use Boost.ASIO, GIO of glib etc. etc. but they all start their own
event loop.

Compile your nginx with syslog support:

Use syslog-ng feature to send packets to loghost.

Vitaly T.

Hello VT,

i am using ubutu 10.4 Lucid and running nginx 0.8.54. I tried patching
nginx but it fails. see below. I am trying to use syslog-ng to
centralize all the logs to one server. I have had no luck so far. I
have tried the patches mentioned here but no luck so far, they all
error out. would you have any idea, or point o to a right direction.
Thank you!

[email protected]:~/nginx-0.8.54# patch -p1 < syslog.patch
patching file auto/make
patching file auto/options
Hunk #1 succeeded at 118 (offset 8 lines).
Hunk #2 succeeded at 272 (offset 18 lines).
Hunk #3 succeeded at 414 (offset 29 lines).
Hunk #4 succeeded at 433 (offset 32 lines).
patching file auto/summary
Hunk #1 succeeded at 73 with fuzz 1 (offset 2 lines).
patching file src/core/nginx.c
Hunk #2 succeeded at 283 (offset 9 lines).
Hunk #3 succeeded at 409 (offset 19 lines).
patching file src/core/ngx_conf_file.c
Hunk #1 succeeded at 907 with fuzz 1.
patching file src/core/ngx_log.c
Hunk #4 FAILED at 447.
1 out of 4 hunks FAILED – saving rejects to file
patching file src/http/modules/ngx_http_log_module.c
Hunk #4 succeeded at 835 (offset 18 lines).
Hunk #5 succeeded at 904 (offset 24 lines).

Posted at Nginx Forum:,183884,198306#msg-198306