Try my syslog patch(<a href="https://github.com/yaoweibin/nginx_syslog_patch">https://github.com/yaoweibin/nginx_syslog_patch</a>), I have tested it in Nginx-0.8.54 and Nginx-1.0.0. This patch is used in our production servers.<br>
<br><div class="gmail_quote">2011/5/16 sprasad90 <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello Daniel,<br>
<br>
i am using ubutu 10.4 Lucid and running nginx 0.8.54. I tried patching<br>
nginx with the patch link you mentioned above but it doesn&#39;t work.  I<br>
have tried all the patches mentioned in<br>
<a href="http://wiki.nginx.org/Nginx3rdPartyModules" target="_blank">http://wiki.nginx.org/Nginx3rdPartyModules</a> but none seem to work.  I am<br>
trying to use syslog-ng to centralize all the nginx logs to one server.<br>
<br>
<br>
After patching, during make i get this<br>
<br>
objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status&#39;:<br>
ngx_process.c:(.text+0xe5d): warning: `sys_errlist&#39; is deprecated; use<br>
`strerror&#39; or `strerror_r&#39; instead<br>
ngx_process.c:(.text+0xe4b): warning: `sys_nerr&#39; is deprecated; use<br>
`strerror&#39; or `strerror_r&#39; instead<br>
make[1]: Leaving directory `/root/nginx-0.8.54&#39;<br>
<br>
and then after a nginx start,  the file error.log shows up but<br>
access.log is no where to be seen. The error.log doesn&#39;t update at all,<br>
so basically the logging doesn&#39;t happen at all.<br>
<br>
Any ideas? Any pointers is appreciated.<br>
<br>
Thanks!<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,148108,198309#msg-198309" target="_blank">http://forum.nginx.org/read.php?2,148108,198309#msg-198309</a><br>
<div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br>