messages cleanup

This commit is contained in:
John Smith
2023-06-24 20:23:33 -04:00
parent 4a14cabeeb
commit 909ef6bf69
7 changed files with 504 additions and 7 deletions

View File

@@ -143,7 +143,7 @@ impl RawTcpProtocolHandler {
ps,
));
log_net!(debug "TCP: on_accept_async from: {}", socket_addr);
log_net!(debug "Connection accepted from: {} (TCP)", socket_addr);
Ok(Some(conn))
}

View File

@@ -212,7 +212,7 @@ impl WebsocketProtocolHandler {
ws_stream,
));
log_net!(debug "{}: on_accept_async from: {}", if self.arc.tls { "WSS" } else { "WS" }, socket_addr);
log_net!(debug "Connection accepted from: {} ({})", socket_addr, if self.arc.tls { "WSS" } else { "WS" });
Ok(Some(conn))
}