diff src/os/unix/ngx_aio_read_chain.c @ 257:70e1c7d2b83d

nginx-0.0.2-2004-02-11-20:08:49 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Feb 2004 17:08:49 +0000
parents 389d7ee9fa60
children 4a3f18406832
line wrap: on
line diff
--- a/src/os/unix/ngx_aio_read_chain.c
+++ b/src/os/unix/ngx_aio_read_chain.c
@@ -41,7 +41,7 @@ ssize_t ngx_aio_read_chain(ngx_connectio
 
         n = ngx_aio_read(c, buf, size);
 
-        ngx_log_debug(c->log, "aio_read: %d" _ n);
+        ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "aio_read: %d", n);
 
         if (n == NGX_AGAIN) {
             return total ? total : NGX_AGAIN;
@@ -64,7 +64,8 @@ ssize_t ngx_aio_read_chain(ngx_connectio
             total += n;
         }
 
-        ngx_log_debug(c->log, "aio_read total: %d" _ total);
+        ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0,
+                       "aio_read total: %d", total);
     }
 
     return total ? total : NGX_AGAIN;