No description
Find a file
Valentin Bartenev cd504958dc 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
2015-03-19 19:29:43 +03:00
auto Removed busy locks. 2015-03-20 06:45:32 +03:00
conf MIME: added application/xspf+xml MIME type (ticket #479). 2014-03-06 10:51:08 +01:00
contrib Contrib: add more directives to vim syntax. 2014-10-22 15:31:19 +02:00
docs nginx-1.7.10-RELEASE 2015-02-10 17:33:32 +03:00
misc Updated OpenSSL used for win32 builds. 2015-02-10 16:54:12 +03:00
src Core: added cyclic memory buffer support for error_log. 2015-03-19 19:29:43 +03:00