decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL

This commit is contained in:
Igor Sysoev 2007-03-06 11:01:50 +00:00
parent 7e8e722aa0
commit b32d04f07c
2 changed files with 4 additions and 4 deletions

View File

@ -416,7 +416,7 @@ ngx_devpoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
event_list[i].fd, event_list[i].events, revents);
if (revents & (POLLERR|POLLHUP|POLLNVAL)) {
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
"ioctl(DP_POLL) error fd:%d ev:%04Xd rev:%04Xd",
event_list[i].fd, event_list[i].events, revents);
}

View File

@ -467,9 +467,9 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
event_list[i].portev_object, revents);
if (revents & (POLLERR|POLLHUP|POLLNVAL)) {
ngx_log_error(NGX_LOG_ALERT, cycle->log, 0,
"port_getn() error fd:%d ev:%04Xd",
event_list[i].portev_object, revents);
ngx_log_debug2(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
"port_getn() error fd:%d ev:%04Xd",
event_list[i].portev_object, revents);
}
if (revents & ~(POLLIN|POLLOUT|POLLERR|POLLHUP|POLLNVAL)) {