change some log types to debug only

This commit is contained in:
bernatx 2021-11-09 10:43:35 +01:00
parent 2df3f17d68
commit 29ef62acf4
1 changed files with 3 additions and 3 deletions

View File

@ -127,7 +127,7 @@ namespace tcp {
ReadData();
} else {
// Else try again.
log_info("streaming client: failed to send stream id:", ec.message());
log_debug("streaming client: failed to send stream id:", ec.message());
Connect();
}
}));
@ -186,7 +186,7 @@ namespace tcp {
ReadData();
} else {
// As usual, if anything fails start over from the very top.
log_info("streaming client: failed to read data:", ec.message());
log_debug("streaming client: failed to read data:", ec.message());
Connect();
}
};
@ -207,7 +207,7 @@ namespace tcp {
message->buffer(),
boost::asio::bind_executor(_strand, handle_read_data));
} else if (!_done) {
log_info("streaming client: failed to read header:", ec.message());
log_debug("streaming client: failed to read header:", ec.message());
DEBUG_ONLY(log_debug("size = ", message->size()));
DEBUG_ONLY(log_debug("bytes = ", bytes));
Connect();