mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-05 12:00:29 +08:00
log: Fix so user can specify custom log format
This commit is contained in:
@ -88,6 +88,8 @@ func parse(c middleware.Controller) ([]LogRule, error) {
|
||||
format = commonLogFormat
|
||||
case "{combined}":
|
||||
format = combinedLogFormat
|
||||
default:
|
||||
format = args[2]
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user