summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.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_port.c
parentf2090bce21e4fb47d11f992a76ef5c4da74c3233 (diff)
downloadunit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.gz
unit-912a49c6091c1fd9b630d2e0966f0fe1b97a3e42.tar.bz2
Reduced number of critical log levels.
Diffstat (limited to 'src/nxt_port.c')
-rw-r--r--src/nxt_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 12de8afb..64dd4dd5 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -167,8 +167,8 @@ nxt_port_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
return;
}
- nxt_log(task, NXT_LOG_CRIT, "port %d: unknown message type:%uD",
- msg->port->socket.fd, msg->port_msg.type);
+ nxt_alert(task, "port %d: unknown message type:%uD",
+ msg->port->socket.fd, msg->port_msg.type);
}