summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.c
diff options
context:
space:
mode:
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);
}