Nginx not logging to socket

Vladimir Homutov vl at nginx.com
Wed Jun 24 11:03:18 UTC 2015


On Wed, Jun 24, 2015 at 06:12:49AM -0400, Danomi Czaski wrote:
> Hello,
>
> On Sun, Jun 21, 2015 at 8:19 AM, Andrew Holway
> <andrew.holway at otternetworks.de> wrote:
> > Hallo!
> >
> > Using rsyslog I have set up a logging socket and confirmed that its working
> > by piping in some stuff to "logger -u /dev/log"
> > nginx/1.8.0 does not seem to be dumping in logs however. The nginx config is
> > below..
>
> Any luck? I'm seeing the same problem on 1.7.12.
>

do you see some errors in the local error log? If nginx is unable to
send data to socket for some reasons (check socket permissions, selinux
and similar), you will see errors in the local log file.



More information about the nginx mailing list