Welcome! Log In Create A New Profile

Advanced

Re: Need to exclude file from server logs

February 22, 2011 03:12PM
On Tue, Feb 22, 2011 at 11:02:47AM -0500, bindsocket wrote:
> 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.

If you request exactly "/hc", then it's better to use

location = /hc {
access_log off;
}


--
Igor Sysoev
http://sysoev.ru/en/

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

Need to exclude file from server logs

bindsocket February 22, 2011 10:26AM

Re: Need to exclude file from server logs

burningbunny February 22, 2011 10:33AM

Re: Need to exclude file from server logs

vt February 22, 2011 10:34AM

Re: Need to exclude file from server logs

Flavio Torres February 22, 2011 10:40AM

Re: Need to exclude file from server logs

Igor Sysoev February 22, 2011 03:12PM

Re: Need to exclude file from server logs

bindsocket February 24, 2011 02:39PM

Re: Need to exclude file from server logs

António P. P. Almeida February 22, 2011 11:02AM

Re: Need to exclude file from server logs

bindsocket February 22, 2011 11:02AM

Re: Need to exclude file from server logs

Igor Sysoev February 22, 2011 03:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 105
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready