Added additional - to common log file format (#1399)

This commit is contained in:
Toby Allen 2017-02-04 22:29:29 +00:00 committed by Matt Holt
parent dc6c986b3f
commit 9e9298ee5d

View file

@ -86,7 +86,7 @@ const (
// DefaultLogFilename is the default log filename.
DefaultLogFilename = "access.log"
// CommonLogFormat is the common log format.
CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{method} {uri} {proto}" {status} {size}`
CommonLogFormat = `{remote} ` + CommonLogEmptyValue + " " + CommonLogEmptyValue + ` [{when}] "{method} {uri} {proto}" {status} {size}`
// CommonLogEmptyValue is the common empty log value.
CommonLogEmptyValue = "-"
// CombinedLogFormat is the combined log format.