From 55238b58ecc388529f6a22c22573bbfbf9cbff32 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 4 Jul 2016 14:45:07 +0200 Subject: Improve log for RemoteControllerTelnet --- src/RemoteControl.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/RemoteControl.cpp b/src/RemoteControl.cpp index 723ba9b..9ecb018 100644 --- a/src/RemoteControl.cpp +++ b/src/RemoteControl.cpp @@ -54,8 +54,6 @@ void RemoteControllerTelnet::restart() // thread. void RemoteControllerTelnet::restart_thread(long) { - etiLog.level(warn) << "RC: Restart Telnet server"; - m_running = false; m_io_service.stop(); @@ -151,7 +149,7 @@ void RemoteControllerTelnet::process(long) // Add an accept call to the service. This will prevent io_service::run() // from returning. - etiLog.level(warn) << "RC: Waiting on connection"; + etiLog.level(info) << "RC: Waiting for connection on port " << m_port; acceptor.async_accept(*socket, boost::bind(&RemoteControllerTelnet::handle_accept, this, @@ -163,7 +161,7 @@ void RemoteControllerTelnet::process(long) m_io_service.run(); } - etiLog.level(warn) << "RC: Leaving"; + etiLog.level(info) << "RC: Leaving"; m_fault = true; } -- cgit v1.2.3