diff options
Diffstat (limited to 'middleware/log/log.go')
-rw-r--r-- | middleware/log/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/middleware/log/log.go b/middleware/log/log.go index e099eced7..ef9e3f51d 100644 --- a/middleware/log/log.go +++ b/middleware/log/log.go @@ -80,7 +80,7 @@ const ( // DefaultLogFilename is the default log filename. DefaultLogFilename = "query.log" // CommonLogFormat is the common log format. - CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{type} {class} {name} {proto} {>do} {>bufsize}" {rcode} {size} {duration}` + CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{type} {class} {name} {proto} {size} {>do} {>bufsize}" {rcode} {rsize} {duration}` // CommonLogEmptyValue is the common empty log value. CommonLogEmptyValue = "-" // CombinedLogFormat is the combined log format. |