From 9e9298ee5d6a89143a54126b24f984c5cff1db86 Mon Sep 17 00:00:00 2001 From: Toby Allen Date: Sat, 4 Feb 2017 22:29:29 +0000 Subject: [PATCH] Added additional - to common log file format (#1399) --- caddyhttp/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caddyhttp/log/log.go b/caddyhttp/log/log.go index b6ff6758..4470bccf 100644 --- a/caddyhttp/log/log.go +++ b/caddyhttp/log/log.go @@ -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.