<div dir="ltr">Try to set <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#log_not_found">log_not_found</a> to off</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 30, 2014 at 11:56 AM, Igal @ getRailo.org <span dir="ltr"><<a href="mailto:igal@getrailo.org" target="_blank">igal@getrailo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
I am suppressing the access_log for images and other files in the /res/<br>
directory:<br>
<br>
     location ^~ /res/ {<br>
<br>
        error_page  404  /res/images/100candles-logo-square.png;<br>
        expires     14d;<br>
        access_log  off;<br>
    }<br>
<br>
but I would like to log the 404s in the access_log<br>
<br>
how can I do that?<br>
<br>
TIA<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>