syslog patch: please integrate it in the official release/source

姚伟斌 nbubingo at gmail.com
Mon May 16 07:28:31 MSD 2011


Try my syslog patch(https://github.com/yaoweibin/nginx_syslog_patch), I have
tested it in Nginx-0.8.54 and Nginx-1.0.0. This patch is used in our
production servers.

2011/5/16 sprasad90 <nginx-forum at nginx.us>

> Hello Daniel,
>
> i am using ubutu 10.4 Lucid and running nginx 0.8.54. I tried patching
> nginx with the patch link you mentioned above but it doesn't work.  I
> have tried all the patches mentioned in
> http://wiki.nginx.org/Nginx3rdPartyModules but none seem to work.  I am
> trying to use syslog-ng to centralize all the nginx logs to one server.
>
>
> After patching, during make i get this
>
> objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status':
> ngx_process.c:(.text+0xe5d): warning: `sys_errlist' is deprecated; use
> `strerror' or `strerror_r' instead
> ngx_process.c:(.text+0xe4b): warning: `sys_nerr' is deprecated; use
> `strerror' or `strerror_r' instead
> make[1]: Leaving directory `/root/nginx-0.8.54'
>
> and then after a nginx start,  the file error.log shows up but
> access.log is no where to be seen. The error.log doesn't update at all,
> so basically the logging doesn't happen at all.
>
> Any ideas? Any pointers is appreciated.
>
> Thanks!
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,148108,198309#msg-198309
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110516/4b4bf291/attachment.html>


More information about the nginx mailing list