aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyevents/app.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2024-12-20 10:55:02 -0700
committerGitHub <[email protected]>2024-12-20 10:55:02 -0700
commit86da4e8f56f3518bc053dd4f68a78c538a4aab5f (patch)
treebaaf259e90a81d56bf8a2999809d396a02fe1ea9 /modules/caddyevents/app.go
parent130c868e95dfd1a8b1d39fd217bc6378f6b72ec0 (diff)
parented1c594cdbddf89829eaf1174f414028577b432d (diff)
downloadcaddy-86da4e8f56f3518bc053dd4f68a78c538a4aab5f.tar.gz
caddy-86da4e8f56f3518bc053dd4f68a78c538a4aab5f.zip
Merge branch 'master' into transfer-encoding-matchtransfer-encoding-match
Diffstat (limited to 'modules/caddyevents/app.go')
-rw-r--r--modules/caddyevents/app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyevents/app.go b/modules/caddyevents/app.go
index 2e4a6f2c0..e78b00f8c 100644
--- a/modules/caddyevents/app.go
+++ b/modules/caddyevents/app.go
@@ -262,7 +262,7 @@ func (app *App) Emit(ctx caddy.Context, eventName string, data map[string]any) E
return nil, false
})
- logger = logger.With(zap.Any("data", e.Data))
+ logger = logger.WithLazy(zap.Any("data", e.Data))
logger.Debug("event")