From 74a59a6f1a3e232619a20034edf7a333ad029b03 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Sat, 1 Oct 2016 10:08:30 +0200 Subject: Removes all tracing log calls. --- libcmix-network/client.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'libcmix-network') diff --git a/libcmix-network/client.cpp b/libcmix-network/client.cpp index d8e79d7..0c3c432 100644 --- a/libcmix-network/client.cpp +++ b/libcmix-network/client.cpp @@ -42,7 +42,6 @@ void Client::send(std::string message) { }; auto handler = [](boost::system::error_code const& ec, std::size_t bytes_transferred) { - BOOST_LOG_TRIVIAL(trace) << "sent message of " << bytes_transferred << " bytes"; if(ec) { BOOST_LOG_TRIVIAL(fatal) << ec; throw std::runtime_error("unable to send message"); @@ -86,14 +85,12 @@ void Client::handle_receive_size(Client::MessageHandler message_handler, const e void Client::handle_receive_message(MessageHandler message_handler, const error_code &ec, size_t read_bytes) { - BOOST_LOG_TRIVIAL(trace) << "handling receive of: " << read_bytes << " bytes"; if(!ec) { buffer.commit(read_bytes); std::istream is(&buffer); is.unsetf(std::ios::skipws); std::vector data(std::istream_iterator(is), {}); - BOOST_LOG_TRIVIAL(trace) << "data.size(): " << data.size(); message_handler(data); } else { BOOST_LOG_TRIVIAL(error) << ec; -- cgit v1.2.3-70-g09d2