Mercurial > hg > nginx
comparison src/event/modules/ngx_devpoll_module.c @ 1128:06479b01caff
decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Mar 2007 11:01:50 +0000 |
parents | 6d5c1535bb9d |
children | 2b16d3959c2b |
comparison
equal
deleted
inserted
replaced
1127:a0f9a72154db | 1128:06479b01caff |
---|---|
414 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, | 414 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, cycle->log, 0, |
415 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd", | 415 "devpoll: fd:%d, ev:%04Xd, rev:%04Xd", |
416 event_list[i].fd, event_list[i].events, revents); | 416 event_list[i].fd, event_list[i].events, revents); |
417 | 417 |
418 if (revents & (POLLERR|POLLHUP|POLLNVAL)) { | 418 if (revents & (POLLERR|POLLHUP|POLLNVAL)) { |
419 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, | 419 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, |
420 "ioctl(DP_POLL) error fd:%d ev:%04Xd rev:%04Xd", | 420 "ioctl(DP_POLL) error fd:%d ev:%04Xd rev:%04Xd", |
421 event_list[i].fd, event_list[i].events, revents); | 421 event_list[i].fd, event_list[i].events, revents); |
422 } | 422 } |
423 | 423 |
424 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { | 424 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { |