Gary Moon 29194a9dd6
Correct the access log format (#24085)
The default access log format has been unnecessarily escaped, leading to
spurious backslashes appearing in log lines.

Additionally, the `RemoteAddr` field includes the port, which breaks
most log parsers attempting to process it. I've added a call to
`net.SplitHostPort()` attempting to isolate the address alone, with a
fallback to the original address if it errs.

Signed-off-by: Gary Moon <gary@garymoon.net>
2023-04-13 21:14:06 +08:00
..
2023-03-13 15:51:07 +08:00
2023-03-28 22:23:23 -04:00
2023-02-20 16:18:26 -06:00
2023-04-13 21:14:06 +08:00
2023-02-20 16:18:26 -06:00
2023-02-20 16:18:26 -06:00
2023-02-20 16:18:26 -06:00
2023-02-20 16:18:26 -06:00