diff options
author | Matthew Holt <[email protected]> | 2019-12-13 15:36:00 -0700 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2019-12-13 15:36:00 -0700 |
commit | 8005b7ab73c264ee3c1d7b10c39bc5565ef57c02 (patch) | |
tree | 984a146668b09f6b8190784ec40fe9d2225d74ea /logging.go | |
parent | b1a456cfe38e83eedb778032ed6739e7e3cbe8a4 (diff) | |
download | caddy-8005b7ab73c264ee3c1d7b10c39bc5565ef57c02.tar.gz caddy-8005b7ab73c264ee3c1d7b10c39bc5565ef57c02.zip |
Couple of quick fixes
Diffstat (limited to 'logging.go')
-rw-r--r-- | logging.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logging.go b/logging.go index 0b7d9e42b..a4a1473f4 100644 --- a/logging.go +++ b/logging.go @@ -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 { |