Skip to content

Commit b6f5a43

Browse files
committed
refactor(serverHandler): refine logging string assembling
1 parent 17607ee commit b6f5a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serverHandler/log.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func logRequest(logger *serverLog.Logger, r *http.Request, statusCode int) {
4545
buf = append(buf, []byte(r.Host)...)
4646
if unescapedLen > 0 {
4747
buf = append(buf, unescapedUri...)
48-
buf = append(buf, ' ', '<', '=', '>', ' ') // 5 bytes
48+
buf = append(buf, []byte(" <=> ")...) // 5 bytes
4949
}
5050
buf = append(buf, uri...)
5151

0 commit comments

Comments
 (0)