diff options
author | Igor Sysoev <igor@sysoev.ru> | 2019-06-18 18:01:03 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2019-06-18 18:01:03 +0300 |
commit | a2c1907fda8d589db72a9ccd7543f307c1eacbaf (patch) | |
tree | 019bb87eb8e2f5c03d3091cec09c1168ebe8c72b | |
parent | 24400b3a5da2725dcad8d445911b5b4001a966ac (diff) | |
download | unit-a2c1907fda8d589db72a9ccd7543f307c1eacbaf.tar.gz unit-a2c1907fda8d589db72a9ccd7543f307c1eacbaf.tar.bz2 |
Decreased level of some shutdown() and send() errors.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c index eba53354..95a298d8 100644 --- a/src/nxt_socket.c +++ b/src/nxt_socket.c @@ -281,7 +281,7 @@ nxt_socket_shutdown(nxt_task_t *task, nxt_socket_t s, nxt_uint_t how) switch (err) { case NXT_ENOTCONN: - level = NXT_LOG_INFO; + level = NXT_LOG_DEBUG; break; case NXT_ECONNRESET: @@ -313,7 +313,7 @@ nxt_socket_error_level(nxt_err_t err) case NXT_ENETUNREACH: case NXT_EHOSTDOWN: case NXT_EHOSTUNREACH: - return NXT_LOG_ERR; + return NXT_LOG_INFO; default: return NXT_LOG_ALERT; |