mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 18:27:12 +02:00
make logging more quiet
This commit is contained in:
parent
f8c9c2e890
commit
78b479af7f
3 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Add table
Reference in a new issue