diff --git a/internal/caddy/global/configmap.go b/internal/caddy/global/configmap.go index 1eabd96..734333d 100644 --- a/internal/caddy/global/configmap.go +++ b/internal/caddy/global/configmap.go @@ -31,7 +31,7 @@ func (p ConfigMapPlugin) GlobalHandler(config *converter.Config, store *store.St httpServer := config.GetHTTPServer() if cfgMap.Debug { - config.Logging.Logs = map[string]*caddy2.CustomLog{"default": {Level: "DEBUG"}} + config.Logging.Logs = map[string]*caddy2.CustomLog{"default": {BaseLog: caddy2.BaseLog{Level: "DEBUG"}}} } if cfgMap.AcmeCA != "" || cfgMap.Email != "" {