From: Steinar H. Gunderson Date: Sun, 13 Apr 2014 19:32:21 +0000 (+0200) Subject: Stop logging loss fraction; it is only spam now, and we have the information in ... X-Git-Tag: 1.1.0~19 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=ec09f7a76908e4ab04337f941acf8e40a03a39ab Stop logging loss fraction; it is only spam now, and we have the information in .stats. --- diff --git a/server.cpp b/server.cpp index 0938999..b381e79 100644 --- a/server.cpp +++ b/server.cpp @@ -478,12 +478,6 @@ void Server::skip_lost_data(Client *client) client->stream_pos = stream->bytes_received - stream->backlog_size; client->bytes_lost += bytes_lost; ++client->num_loss_events; - - double loss_fraction = double(client->bytes_lost) / double(client->bytes_lost + client->bytes_sent); - log(WARNING, "[%s] Client lost %lld bytes (total loss: %.2f%%), maybe too slow connection", - client->remote_addr.c_str(), - (long long int)(bytes_lost), - 100.0 * loss_fraction); } }