Mercurial > hg > nginx
diff src/event/modules/ngx_epoll_module.c @ 312:f5431a4bbc7d
nginx-0.0.3-2004-04-13-09:27:03 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 13 Apr 2004 05:27:03 +0000 |
parents | 11ff50a35d6d |
children | 98f1a8028067 |
line wrap: on
line diff
--- a/src/event/modules/ngx_epoll_module.c Mon Apr 12 16:38:09 2004 +0000 +++ b/src/event/modules/ngx_epoll_module.c Tue Apr 13 05:27:03 2004 +0000 @@ -434,10 +434,6 @@ c->write->returned_instance = instance; } -#if (NGX_DEBUG) - log = c->log ? c->log : cycle->log; -#endif - if (c->read->instance != instance) { /* @@ -445,11 +441,15 @@ * that was just closed in this iteration */ - ngx_log_debug1(NGX_LOG_DEBUG_EVENT, log, 0, + ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "epoll: stale event " PTR_FMT, c); continue; } +#if (NGX_DEBUG) + log = c->log ? c->log : cycle->log; +#endif + ngx_log_debug3(NGX_LOG_DEBUG_EVENT, log, 0, "epoll: fd:%d ev:%04X d:" PTR_FMT, c->fd, event_list[i].events, event_list[i].data);