aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddypki/pki.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddypki/pki.go')
-rw-r--r--modules/caddypki/pki.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddypki/pki.go b/modules/caddypki/pki.go
index 4fd0bb508..2caeb2b59 100644
--- a/modules/caddypki/pki.go
+++ b/modules/caddypki/pki.go
@@ -54,7 +54,7 @@ func (PKI) CaddyModule() caddy.ModuleInfo {
// Provision sets up the configuration for the PKI app.
func (p *PKI) Provision(ctx caddy.Context) error {
p.ctx = ctx
- p.log = ctx.Logger(p)
+ p.log = ctx.Logger()
for caID, ca := range p.CAs {
err := ca.Provision(ctx, caID, p.log)