Mercurial > hg > nginx
comparison src/event/modules/ngx_eventport_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 | 1adfc55bb6dc |
children | 3dd9883fa121 |
comparison
equal
deleted
inserted
replaced
1127:a0f9a72154db | 1128:06479b01caff |
---|---|
465 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, | 465 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, |
466 "eventport: fd:%d, ev:%04Xd", | 466 "eventport: fd:%d, ev:%04Xd", |
467 event_list[i].portev_object, revents); | 467 event_list[i].portev_object, revents); |
468 | 468 |
469 if (revents & (POLLERR|POLLHUP|POLLNVAL)) { | 469 if (revents & (POLLERR|POLLHUP|POLLNVAL)) { |
470 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, | 470 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0, |
471 "port_getn() error fd:%d ev:%04Xd", | 471 "port_getn() error fd:%d ev:%04Xd", |
472 event_list[i].portev_object, revents); | 472 event_list[i].portev_object, revents); |
473 } | 473 } |
474 | 474 |
475 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { | 475 if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) { |
476 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, | 476 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, |
477 "strange port_getn() events fd:%d ev:%04Xd", | 477 "strange port_getn() events fd:%d ev:%04Xd", |