From ec09f7a76908e4ab04337f941acf8e40a03a39ab Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 13 Apr 2014 21:32:21 +0200 Subject: [PATCH] Stop logging loss fraction; it is only spam now, and we have the information in .stats. --- server.cpp | 6 ------ 1 file changed, 6 deletions(-) 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); } } -- 2.39.2