change log levels of common warnings and errors to debug

this hides a lot of the "standard" errors we get behind the debug flag.
for example, disconnecting a disconnected player would be such an error
This commit is contained in:
Lion Kortlepel
2022-10-15 23:08:50 +02:00
parent 75ff9f7571
commit 87965433c2
3 changed files with 5 additions and 5 deletions

View File

@@ -62,11 +62,11 @@ void TClient::Disconnect(std::string_view Reason) {
boost::system::error_code ec;
mSocket.shutdown(socket_base::shutdown_both, ec);
if (ec) {
beammp_warnf("Failed to shutdown client socket: {}", ec.message());
beammp_debugf("Failed to shutdown client socket: {}", ec.message());
}
mSocket.close(ec);
if (ec) {
beammp_warnf("Failed to close client socket: {}", ec.message());
beammp_debugf("Failed to close client socket: {}", ec.message());
}
}