From bb7720968fda19b50da53fe49d9c7fffcfe9d482 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Sun, 29 Aug 2021 19:20:36 +0200 Subject: [PATCH] Tweaked log levels --- src/tcp_server.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tcp_server.inl b/src/tcp_server.inl index d0321fb..5d17aa0 100644 --- a/src/tcp_server.inl +++ b/src/tcp_server.inl @@ -430,10 +430,10 @@ void TCPServer::shutdown_tcp() if (elapsed_time >= (counter + 1) * 1000) { ++counter; if (counter < timeout_seconds) { - LOGINFO(5, "waiting for event loop to stop for " << (timeout_seconds - counter) << " more seconds..."); + LOGINFO(1, "waiting for event loop to stop for " << (timeout_seconds - counter) << " more seconds..."); } else { - LOGWARN(5, "timed out while waiting for event loop to stop"); + LOGWARN(1, "timed out while waiting for event loop to stop"); uv_async_init(&m_loop, &asy, nullptr); uv_stop(&m_loop); uv_async_send(&asy);