mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 16:58:50 +00:00
normalise logging
This commit is contained in:
@ -145,7 +145,7 @@ void RelayServer::runWebsocket(ThreadPool<MsgWebsocket>::Thread &thr) {
|
|||||||
auto downComp = renderPercent(1.0 - (double)c->stats.bytesDownCompressed / c->stats.bytesDown);
|
auto downComp = renderPercent(1.0 - (double)c->stats.bytesDownCompressed / c->stats.bytesDown);
|
||||||
|
|
||||||
LI << "[" << connId << "] Disconnect from " << renderIP(c->ipAddr)
|
LI << "[" << connId << "] Disconnect from " << renderIP(c->ipAddr)
|
||||||
<< " (" << code << ": " << (message ? std::string_view(message, length) : "-") << ")"
|
<< " (" << code << "/" << (message ? std::string_view(message, length) : "-") << ")"
|
||||||
<< " UP: " << renderSize(c->stats.bytesUp) << " (" << upComp << " compressed)"
|
<< " UP: " << renderSize(c->stats.bytesUp) << " (" << upComp << " compressed)"
|
||||||
<< " DN: " << renderSize(c->stats.bytesDown) << " (" << downComp << " compressed)"
|
<< " DN: " << renderSize(c->stats.bytesDown) << " (" << downComp << " compressed)"
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user