less logging

This commit is contained in:
badaix 2019-11-01 11:40:31 +01:00
parent 7d8e77cfc0
commit c58f66a87a
2 changed files with 2 additions and 2 deletions

View file

@ -372,7 +372,7 @@ void ControlSessionHttp::on_read_ws(beast::error_code ec, std::size_t bytes_tran
std::string line{boost::beast::buffers_to_string(buffer_.data())}; std::string line{boost::beast::buffers_to_string(buffer_.data())};
if (!line.empty()) if (!line.empty())
{ {
LOG(DEBUG) << "received: " << line << "\n"; // LOG(DEBUG) << "received: " << line << "\n";
if ((message_receiver_ != nullptr) && !line.empty()) if ((message_receiver_ != nullptr) && !line.empty())
{ {
string response = message_receiver_->onMessageReceived(this, line); string response = message_receiver_->onMessageReceived(this, line);

View file

@ -53,7 +53,7 @@ void ControlSessionTcp::do_read()
{ {
if (line.back() == '\r') if (line.back() == '\r')
line.resize(line.size() - 1); line.resize(line.size() - 1);
LOG(DEBUG) << "received: " << line << "\n"; // LOG(DEBUG) << "received: " << line << "\n";
if ((message_receiver_ != nullptr) && !line.empty()) if ((message_receiver_ != nullptr) && !line.empty())
{ {
string response = message_receiver_->onMessageReceived(this, line); string response = message_receiver_->onMessageReceived(this, line);