summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/monitor.cc6
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)) {