mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 07:43:17 +00:00
Couple of quick fixes
This commit is contained in:
parent
b1a456cfe3
commit
8005b7ab73
2 changed files with 2 additions and 1 deletions
|
@ -342,6 +342,7 @@ func (cl *CustomLog) provision(ctx Context, logging *Logging) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("invalid log level: %v", err)
|
||||
}
|
||||
level = strings.ToLower(level)
|
||||
|
||||
// set up the log level
|
||||
switch level {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue