diff options
Diffstat (limited to 'middleware/log/log.go')
-rw-r--r-- | middleware/log/log.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/middleware/log/log.go b/middleware/log/log.go index aacffa663..f4a976002 100644 --- a/middleware/log/log.go +++ b/middleware/log/log.go @@ -78,10 +78,10 @@ type Rule struct { } const ( - // DefaultLogFilename is the default output name. + // DefaultLogFilename is the default output name. This is the only supported value. DefaultLogFilename = "stdout" // CommonLogFormat is the common log format. - CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{type} {class} {name} {proto} {size} {>do} {>bufsize}" {rcode} {rsize} {duration}` + CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{type} {class} {name} {proto} {size} {>do} {>bufsize}" {rcode} {>rflags} {rsize} {duration}` // CommonLogEmptyValue is the common empty log value. CommonLogEmptyValue = "-" // CombinedLogFormat is the combined log format. |