Record log of full error response?

Andres G. Aragoneses knocte at gmail.com
Wed Sep 26 10:11:12 UTC 2012


Hello nginxers,

I've read about the error_page[1] config setting and it's great. However 
serving a custom page instead of the error and just storing the error 
code in an entry in /var/nginx/log/error.log is not enough for me: I 
need to log the full page (the response besides the http status code).

Is there any way to do this? Any config setting I missed? Or any nginx 
module that allows it?

Thanks,
   Andres



[1] http://wiki.nginx.org/HttpCoreModule#error_page



More information about the nginx mailing list