Conditional logging
lenz at vfemail.net
lenz at vfemail.net
Wed Jul 13 03:09:50 MSD 2011
Look here [1] for the line location ~* ^.+\.(jpg|jpeg|gif)$ {
and here [2]
[1] http://wiki.nginx.org/FullExample2
[2] http://wiki.nginx.org/NginxHttpCoreModule#location
Am 2011-07-13 00:30, schrieb Mushin:
> Hello,
>
> My app has lots of image files, and client requests for these images are
> bloating up the access log a lot.
>
> I was wondering if there is a way to log conditionally; for example, if
> there is a request for an image file and it is processed with code 200,
> don't bother logging it.
>
> Is this possible?
>
> Thanks
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212305,212305#msg-212305
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
More information about the nginx
mailing list