aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyevents/app.go
diff options
context:
space:
mode:
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 3ae40e813..db2192ce3 100644
--- a/modules/caddyevents/app.go
+++ b/modules/caddyevents/app.go
@@ -119,7 +119,7 @@ func (App) CaddyModule() caddy.ModuleInfo {
// Provision sets up the app.
func (app *App) Provision(ctx caddy.Context) error {
- app.logger = ctx.Logger(app)
+ app.logger = ctx.Logger()
app.subscriptions = make(map[string]map[caddy.ModuleID][]Handler)
for _, sub := range app.Subscriptions {