mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-05 18:44:58 +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
|
format = commonLogFormat
|
||||||
case "{combined}":
|
case "{combined}":
|
||||||
format = combinedLogFormat
|
format = combinedLogFormat
|
||||||
|
default:
|
||||||
|
format = args[2]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue