Need to exclude file from server logs

Vitaly Tskhovrebov vt at chgk.info
Tue Feb 22 18:30:39 MSK 2011


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 at nginx.org
> http://nginx.org/mailman/listinfo/nginx




More information about the nginx mailing list