Reduced number of critical log levels.

This commit is contained in:
Valentin Bartenev
2018-03-05 17:32:50 +03:00
parent f2090bce21
commit 912a49c609
47 changed files with 403 additions and 534 deletions

View File

@@ -46,7 +46,7 @@ nxt_fd_event_hash_add(nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, nxt_fd_event_t *ev)
return NXT_OK;
}
nxt_log(ev->task, NXT_LOG_CRIT, "fd event %d is already in hash", ev->fd);
nxt_alert(ev->task, "fd event %d is already in hash", ev->fd);
return NXT_ERROR;
}
@@ -126,5 +126,5 @@ nxt_fd_event_hash_destroy(nxt_lvlhsh_t *lvlhsh)
static void
nxt_fd_event_hash_error(nxt_task_t *task, nxt_fd_t fd)
{
nxt_log(task, NXT_LOG_CRIT, "fd event %d not found in hash", fd);
nxt_alert(task, "fd event %d not found in hash", fd);
}