Compile your nginx with syslog support:
http://www.joeandmotorboat.com/2009/09/08/compiling-nginx-with-syslog-support/
Use syslog-ng feature to send packets to loghost.
Regards,
Vitaly Tskhovrebov
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx