diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-09-26 23:46:19 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-09-26 23:46:19 +0200 |
| commit | d88253f049daaf188f2b55764251ccca3d6b7e29 (patch) | |
| tree | f85660c70f33d03852d3a2038b46951bb5c40d8b /src/monitor.cc | |
| parent | eff2e4cc49bfadd9716f3ad65854b3b0ca309b74 (diff) | |
Remove debug code from Monitor
Diffstat (limited to 'src/monitor.cc')
| -rw-r--r-- | src/monitor.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/monitor.cc b/src/monitor.cc index 6194268..152bac3 100644 --- a/src/monitor.cc +++ b/src/monitor.cc @@ -1,7 +1,6 @@ #include "common.hh" #include <icecc/comm.h> -#include <iostream> #include <unordered_map> #include "looper.hh" @@ -175,7 +174,6 @@ private: } void connected() { - std::cerr << "connected" << std::endl; current_netname_ = discover_->schedulerName(); current_hostname_ = discover_->networkName(); @@ -188,7 +186,6 @@ private: std::placeholders::_2, std::placeholders::_3)); if (!channel_->send_msg(MonLoginMsg())) { - std::cerr << "login failed" << std::endl; disconnect_channel(); schedule_discover(0.0); return; @@ -203,7 +200,6 @@ private: void disconnect_channel() { if (!channel_) return; - std::cerr << "disconnect" << std::endl; looper_->remove(channel_->fd); channel_.reset(); @@ -318,8 +314,6 @@ private: } void handle_stats(MonStatsMsg const* msg) { - std::cerr << msg->hostid << " " << msg->statmsg << "***" << std::endl; - auto& machine = machines_[msg->hostid]; auto const known = !machine.name.empty(); if (update(msg->statmsg, &machine)) { |
