diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-03-05 17:32:50 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-03-05 17:32:50 +0300 |
commit | 912a49c6091c1fd9b630d2e0966f0fe1b97a3e42 (patch) | |
tree | 5581735807436384796dfd9deff336865c8372e4 /src/nxt_fd_event.c | |
parent | f2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff) | |
download | unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2 |
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_fd_event.c')
-rw-r--r-- | src/nxt_fd_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_fd_event.c b/src/nxt_fd_event.c index 11515852..a5e0a3ef 100644 --- a/src/nxt_fd_event.c +++ b/src/nxt_fd_event.c @@ -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); } |