mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 20:45:29 +00:00
never log remote port
This information is basically useless anyway and fills logs needlessly. Because this is not necessarily true for the local port because multiple ports may be selected for hosting, logging for the local socket address is unchanged.
This commit is contained in:
parent
9925d927a4
commit
1059f8b94a
1 changed files with 1 additions and 0 deletions
|
|
@ -233,6 +233,7 @@ impl RequestHandle {
|
|||
stream
|
||||
.peer_addr()
|
||||
.expect("could not get peer address")
|
||||
.ip()
|
||||
.to_string()
|
||||
} else {
|
||||
// Do not log IP address, but something else so columns still line up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue