Mercurial > hg > nginx
changeset 4919:bd6299189b49
Core: added debug logging of writev() in ngx_write_chain_to_file().
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 21 Nov 2012 00:52:35 +0000 |
parents | e7467ae41626 |
children | 812c4765c954 |
files | src/os/unix/ngx_files.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os/unix/ngx_files.c Wed Nov 21 00:51:37 2012 +0000 +++ b/src/os/unix/ngx_files.c Wed Nov 21 00:52:35 2012 +0000 @@ -241,6 +241,9 @@ return NGX_ERROR; } + ngx_log_debug2(NGX_LOG_DEBUG_CORE, file->log, 0, + "writev: %d, %z", file->fd, n); + file->sys_offset += n; file->offset += n; total += n;