foxcpp / foxcpp/maddy

ACME logger path repeatedly duplicates "maintenance" segments

Open
#854 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

Logger path accumulates repeated "maintenance" segments (tls.loader.acme/maintenance/maintenance/...), producing noisy lines when ACME renewals run.

Repro (assume defaults):

Enable ACME in maddy.
Wait for renewal/maintenance cycle.
Observe tls.loader.acme log entries.

Observed:
tls.loader.acme/maintenance/maintenance/...: got renewal info { ... }
tls.loader.acme/maintenance/maintenance/...: updated and stored ACME renewal information { ... }

Expected:
tls.loader.acme/maintenance: got renewal info { ... }
tls.loader.acme/maintenance: updated and stored ACME renewal information { ... }

Sanitized example:
tls.loader.acme/maintenance/maintenance/...: got renewal info {"cert_expiry":"","identifiers":[""],"next_ari_update":"","remote_ip":""}
tls.loader.acme/maintenance/maintenance/...: updated and stored ACME renewal information {"cert_expiry":"","next_update":"","remote_ip":""}

maintenance line grows every update cycle

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.