I need to put Nginx logs to syslog. My Nginx version in 1.6, system - Ubuntu 12.04. In Nginx config I do:
server { # some settings here access_log syslog:localhost; # and some settings here } Make a request with curl:
curl http://localhost/ Get standard Nginx page, but syslog is still empty...
UPD: Problem was fixed after uncommenting in rsyslog.conf following lines:
#$ModLoad imudp #$UDPServerRun 514