aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-04 14:45:07 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-04 14:45:07 +0200
commit55238b58ecc388529f6a22c22573bbfbf9cbff32 (patch)
treefdfbcedae6812dd110bd827c18a22e69d5f5d071
parentb8cb345dd5c6d807d1e33fdd50c82047f08b7ce6 (diff)
downloaddabmux-55238b58ecc388529f6a22c22573bbfbf9cbff32.tar.gz
dabmux-55238b58ecc388529f6a22c22573bbfbf9cbff32.tar.bz2
dabmux-55238b58ecc388529f6a22c22573bbfbf9cbff32.zip
Improve log for RemoteControllerTelnet
-rw-r--r--src/RemoteControl.cpp6
1 files changed, 2 insertions, 4 deletions
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;
}