make logging more quiet

This commit is contained in:
badaix 2019-10-09 22:44:58 +02:00
parent f8c9c2e890
commit 78b479af7f
3 changed files with 2 additions and 3 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())};
if (!line.empty())
{
LOG(INFO) << "received: " << line << "\n";
LOG(DEBUG) << "received: " << line << "\n";
if ((message_receiver_ != nullptr) && !line.empty())
{
string response = message_receiver_->onMessageReceived(this, line);

View file

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

View file

@ -90,7 +90,6 @@ stream = pipe:///tmp/snapfifo?name=default
# enable debug logging
#debug = false
debug = true
# log file name for the debug logs (debug must be enabled)
#debug_logfile =