log: Fix so user can specify custom log format

This commit is contained in:
Matthew Holt 2015-04-23 13:35:21 -06:00
parent dd3ff0fcb5
commit 51139a5f56

View file

@ -88,6 +88,8 @@ func parse(c middleware.Controller) ([]LogRule, error) {
format = commonLogFormat
case "{combined}":
format = combinedLogFormat
default:
format = args[2]
}
}