diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-02-11 17:08:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-11 17:08:49 +0000 |
commit | 54498db7a2a2e7e74fba61ec073b248da05e999e (patch) | |
tree | 7e5bda151896efa349f2220fc122ba9792ce5dfb /src/os/unix/ngx_aio_read.c | |
parent | c7a2f6860669f45f5abe342163de5bc68e344816 (diff) | |
download | nginx-54498db7a2a2e7e74fba61ec073b248da05e999e.tar.gz nginx-54498db7a2a2e7e74fba61ec073b248da05e999e.zip |
nginx-0.0.2-2004-02-11-20:08:49 import
Diffstat (limited to 'src/os/unix/ngx_aio_read.c')
-rw-r--r-- | src/os/unix/ngx_aio_read.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/os/unix/ngx_aio_read.c b/src/os/unix/ngx_aio_read.c index c5fb4a55f..1fc020d76 100644 --- a/src/os/unix/ngx_aio_read.c +++ b/src/os/unix/ngx_aio_read.c @@ -29,8 +29,10 @@ ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size) return NGX_AGAIN; } - ngx_log_debug(c->log, "rev->complete: %d" _ rev->complete); - ngx_log_debug(c->log, "aio size: %d" _ size); + ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, + "rev->complete: %d", rev->complete); + ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, + "aio size: %d", size); if (!rev->complete) { ngx_memzero(&rev->aiocb, sizeof(struct aiocb)); @@ -52,7 +54,8 @@ ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size) return NGX_ERROR; } - ngx_log_debug(c->log, "aio_read: #%d OK" _ c->fd); + ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, + "aio_read: #%d OK", c->fd); rev->active = 1; rev->ready = 0; @@ -93,7 +96,8 @@ ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size) return NGX_ERROR; } - ngx_log_debug(rev->log, "aio_read: #%d %d" _ c->fd _ n); + ngx_log_debug2(NGX_LOG_DEBUG_EVENT, rev->log, 0, + "aio_read: #%d %d", c->fd, n); if (n == 0) { rev->eof = 1; |