mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-01 00:23:48 +03:00
log: Fix so user can specify custom log format
This commit is contained in:
parent
dd3ff0fcb5
commit
51139a5f56
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ func parse(c middleware.Controller) ([]LogRule, error) {
|
|||
format = commonLogFormat
|
||||
case "{combined}":
|
||||
format = combinedLogFormat
|
||||
default:
|
||||
format = args[2]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue