loggint through syslog

Vinay Y s lists at ruby-forum.com
Sun Dec 20 19:50:19 MSK 2009

Gabri Mate wrote:
> Hey There!
> Is there any chance to be able to log access through syslog? It would be
I doubt if there is built-in support for logging to syslog directly. But 
you can achieve something almost as good by simply tailing the logs to 
the syslog logger command.

try this:
tail -f access.log | logger -p local5.err -t nginx

you can ensure this is always running by using something like 

Surely this will have worser performance than if it were implemented 
natively within nginx.
Posted via http://www.ruby-forum.com/.

More information about the nginx mailing list