[nginx] svn commit: r4920 - trunk/src/os/unix

mdounin at mdounin.ru mdounin at mdounin.ru
Wed Nov 21 00:52:35 UTC 2012


Author: mdounin
Date: 2012-11-21 00:52:35 +0000 (Wed, 21 Nov 2012)
New Revision: 4920
URL: http://trac.nginx.org/nginx/changeset/4920/nginx

Log:
Core: added debug logging of writev() in ngx_write_chain_to_file().


Modified:
   trunk/src/os/unix/ngx_files.c

Modified: trunk/src/os/unix/ngx_files.c
===================================================================
--- trunk/src/os/unix/ngx_files.c	2012-11-21 00:51:37 UTC (rev 4919)
+++ trunk/src/os/unix/ngx_files.c	2012-11-21 00:52:35 UTC (rev 4920)
@@ -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;



More information about the nginx-devel mailing list