summaryrefslogtreecommitdiff
path: root/modules/caddyevents
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyevents')
-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 3ae40e8..db2192c 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 {