Need to exclude file from server logs
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
> Running nginx 0.7.65 on Ubuntu 10.04
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,177477,177477#msg-177477
> nginx mailing list
> nginx at nginx.org
More information about the nginx