Welcome! Log In Create A New Profile

Advanced

log timeouts to access log

Richard Kearsley
October 11, 2013 07:12AM
Hi
I would like to log an indication of weather a request ended because of
a client timeout - in the access.log

e.g.

log_format normal '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent ' '"$http_referer" "$http_user_agent"
"$client_send_timed_out"';
where $client_send_timed_out would be a true/false or an 0/1 etc

Is there anything in there that would allow me to log that?

Many thanks
Richard

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

log timeouts to access log

Richard Kearsley October 11, 2013 07:12AM

Re: log timeouts to access log

Maxim Dounin October 11, 2013 07:26AM

Re: log timeouts to access log

Richard Kearsley October 11, 2013 01:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 96
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready