2011年2月22日星期二

Re: Need to exclude file from server logs

once in 30 seconds... Do you really need that?
Anyway, cat access.log | grep -v "loadbalanced.check.txt" should help you.

On 2/22/2011 6:26 PM, bindsocket wrote:
> Dont know if this is even possible but I have a healthcheck file that is
> checked by a load balancer every 30 seconds. However, I really do not
> want the webserver to be logging this. Is there some way to configure
> the server to ignore a file or directory as far as the logging is
> concerned??
>
> Running nginx 0.7.65 on Ubuntu 10.04
>
> Brian
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,177477,177477#msg-177477
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论