Guest User

Untitled

a guest
Feb 26th, 2016
59
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set $log = ngx_cycle->log
  2.  
  3. while $log->writer != ngx_log_memory_writer
  4. set $log = $log->next
  5. end
  6.  
  7. set $buf = (ngx_log_memory_buf_t *) $log->wdata
  8. dump binary memory debug_log.txt $buf->start $buf->end
RAW Paste Data