Need to exclude file from server logs

bindsocket nginx-forum at nginx.us
Tue Feb 22 19:02:47 MSK 2011


Thanks all.  Access log is much prettier now.
And as far as the every 30 seconds thing, the suggestion from the server
was 15 seconds.  Probably be changing it to much longer as we are going
to be doing something else for a health check eventually anyways.  Still
dont want to bother with logging it regardless.
Just the simple:

location /hc {
  access_log off;
}

worked just fine for this application.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,177477,177490#msg-177490




More information about the nginx mailing list