From b37ae4f25ab731050f113e04e60ef7d4bd5921f0 Mon Sep 17 00:00:00 2001 From: Mihir Lad Date: Mon, 20 Jul 2020 00:39:26 -0400 Subject: [PATCH] dwm: Use notice to log socket reconnection Info does not normally show this info which is useful to know after a disconnection. --- src/modules/dwm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/dwm.cpp b/src/modules/dwm.cpp index 81dcdb86..3472b814 100644 --- a/src/modules/dwm.cpp +++ b/src/modules/dwm.cpp @@ -271,14 +271,14 @@ namespace modules { auto dwm_module::reconnect_dwm() -> bool { try { if (!m_ipc->is_main_socket_connected()) { - m_log.info("%s: Attempting to reconnect to main socket", name()); + m_log.notice("%s: Attempting to reconnect to main socket", name()); m_ipc->connect_main_socket(); - m_log.info("%s: Successfully reconnected to main socket", name()); + m_log.notice("%s: Successfully reconnected to main socket", name()); } if (!m_ipc->is_event_socket_connected()) { - m_log.info("%s: Attempting to reconnect event socket", name()); + m_log.notice("%s: Attempting to reconnect event socket", name()); m_ipc->connect_event_socket(); - m_log.info("%s: Successfully reconnected event to socket", name()); + m_log.notice("%s: Successfully reconnected event to socket", name()); } return true; } catch (const exception& err) {