Commit 51139a5f authored by Matthew Holt's avatar Matthew Holt

log: Fix so user can specify custom log format

parent dd3ff0fc
...@@ -88,6 +88,8 @@ func parse(c middleware.Controller) ([]LogRule, error) { ...@@ -88,6 +88,8 @@ func parse(c middleware.Controller) ([]LogRule, error) {
format = commonLogFormat format = commonLogFormat
case "{combined}": case "{combined}":
format = combinedLogFormat format = combinedLogFormat
default:
format = args[2]
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment