aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-03-19 19:29:43 +0300
committerValentin Bartenev <vbart@nginx.com>2015-03-19 19:29:43 +0300
commitcc569b92528373694ae3ebc3649b35c9fb6ba540 (patch)
treed7c730171a8f7b2c65328d6e835968192131906b /src/http/ngx_http_request.c
parentbabd64e344331ec4751dcb191eb4e847e3b36a4a (diff)
downloadnginx-cc569b92528373694ae3ebc3649b35c9fb6ba540.tar.gz
nginx-cc569b92528373694ae3ebc3649b35c9fb6ba540.zip
Core: added cyclic memory buffer support for error_log.
Example of usage: error_log memory:16m debug; This allows to configure debug logging with minimum impact on performance. It's especially useful when rare crashes are experienced under high load. The log can be extracted from a coredump using the following gdb script: set $log = ngx_cycle->log while $log->writer != ngx_log_memory_writer set $log = $log->next end set $buf = (ngx_log_memory_buf_t *) $log->wdata dump binary memory debug_log.txt $buf->start $buf->end
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions