Skip to content

Commit 3f8b45c

Browse files
skrassievvishr
authored andcommitted
balance double-quotes in json (#1232)
1 parent a8de73e commit 3f8b45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var (
7070
Skipper: DefaultSkipper,
7171
Format: `{"time":"${time_rfc3339_nano}","id":"${id}","remote_ip":"${remote_ip}",` +
7272
`"host":"${host}","method":"${method}","uri":"${uri}","user_agent":"${user_agent}",` +
73-
`"status":${status},"error":"${error}","latency":${latency}","latency_human":"${latency_human}"` +
73+
`"status":${status},"error":"${error}","latency":${latency},"latency_human":"${latency_human}"` +
7474
`,"bytes_in":${bytes_in},"bytes_out":${bytes_out}}` + "\n",
7575
CustomTimeFormat: "2006-01-02 15:04:05.00000",
7676
Output: os.Stdout,

0 commit comments

Comments
 (0)