diff options
Diffstat (limited to 'plugin/log/log.go')
-rw-r--r-- | plugin/log/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/log/log.go b/plugin/log/log.go index 247b7355d..26e825c8f 100644 --- a/plugin/log/log.go +++ b/plugin/log/log.go @@ -78,7 +78,7 @@ type Rule struct { const ( // CommonLogFormat is the common log format. - CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] {>id} "{type} {class} {name} {proto} {size} {>do} {>bufsize}" {rcode} {>rflags} {rsize} {duration}` + CommonLogFormat = `{remote}:{port} ` + CommonLogEmptyValue + ` [{when}] {>id} "{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. |