ngx_http_memcached_module question
Igor Sysoev
is at rambler-co.ru
Sat Mar 1 00:02:31 MSK 2008
On Fri, Feb 29, 2008 at 03:58:39PM -0500, Sean Allen wrote:
> >>is there a way to selectively not log the file not found errors that
> >>using error_page to redirect creates
> >>while at the same time preserving 'real' errors?
> >
> >What error types do you want to hide ?
> >
>
> these:
>
> 2008/02/29 20:57:30 [error] 25532#0: *6135062 open() "/ah/sites/
> thepinkpatch.co.uk/public/s-TPP/lp" failed (2: No such file or
> directory), client: 90.208.166.236, server: micro.thepinkpatch.co.uk,
> request: "GET /s-TPP/lp HTTP/1.1", host: "micro.thepinkpatch.co.uk"
>
> which are the result of using error page to pass over to our upstreams.
location / {
log_not_found off;
}
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list