summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-03-05 17:32:50 +0300
committerValentin Bartenev <vbart@nginx.com>2018-03-05 17:32:50 +0300
commit912a49c6091c1fd9b630d2e0966f0fe1b97a3e42 (patch)
tree5581735807436384796dfd9deff336865c8372e4 /src/nxt_event_engine.c
parentf2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff)
downloadunit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz
unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_event_engine.c')
-rw-r--r--src/nxt_event_engine.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nxt_event_engine.c b/src/nxt_event_engine.c
index 5a52e368..a7166d26 100644
--- a/src/nxt_event_engine.c
+++ b/src/nxt_event_engine.c
@@ -349,8 +349,8 @@ nxt_event_engine_signal_pipe_error(nxt_task_t *task, void *obj, void *data)
engine = task->thread->engine;
pipe = engine->pipe;
- nxt_log(task, NXT_LOG_CRIT, "engine pipe(%FD:%FD) event error",
- pipe->fds[0], pipe->fds[1]);
+ nxt_alert(task, "engine pipe(%FD:%FD) event error",
+ pipe->fds[0], pipe->fds[1]);
nxt_fd_event_close(engine, &pipe->event);
nxt_pipe_close(pipe->event.task, pipe->fds);
@@ -375,8 +375,7 @@ nxt_event_engine_signal_handler(nxt_task_t *task, void *obj, void *data)
}
}
- nxt_log(task, NXT_LOG_CRIT, "signal %ui handler not found",
- (nxt_uint_t) signo);
+ nxt_alert(task, "signal %ui handler not found", (nxt_uint_t) signo);
}