From 30ff78bf933a7db6c843fc9d98aa3bc0fd94fd80 Mon Sep 17 00:00:00 2001 From: Matej Ferencevic Date: Mon, 28 Aug 2017 12:54:19 +0200 Subject: [PATCH] Reverted server messages. Reviewers: teon.banek Reviewed By: teon.banek Differential Revision: https://phabricator.memgraph.io/D719 --- src/communication/server.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/communication/server.hpp b/src/communication/server.hpp index df9bcc779..5dada284d 100644 --- a/src/communication/server.hpp +++ b/src/communication/server.hpp @@ -52,7 +52,7 @@ class Server } void Start(size_t n) { - LOG(INFO) << fmt::format("Starting {} workers", n) << std::endl; + std::cout << fmt::format("Starting {} workers", n) << std::endl; workers_.reserve(n); for (size_t i = 0; i < n; ++i) { workers_.push_back( @@ -60,8 +60,8 @@ class Server session_data_)); workers_.back()->Start(alive_); } - LOG(INFO) << "Server is fully armed and operational" << std::endl; - LOG(INFO) << fmt::format("Listening on {} at {}", + std::cout << "Server is fully armed and operational" << std::endl; + std::cout << fmt::format("Listening on {} at {}", socket_.endpoint().address(), socket_.endpoint().port()) << std::endl; @@ -69,7 +69,7 @@ class Server this->WaitAndProcessEvents(); } - LOG(INFO) << "Shutting down..." << std::endl; + std::cout << "Shutting down..." << std::endl; for (auto &worker : workers_) worker->thread_.join(); }