Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Hook up txacme's "panic" callable to do something more visible #77

Open
JayH5 opened this issue Nov 22, 2016 · 0 comments
Open

Hook up txacme's "panic" callable to do something more visible #77

JayH5 opened this issue Nov 22, 2016 · 0 comments

Comments

@JayH5
Copy link
Contributor

JayH5 commented Nov 22, 2016

http://txacme.readthedocs.io/en/latest/using.html#issuing-service

panic (Callable[[Failure, str], Deferred]) – A callable invoked with the failure and server name when reissuing fails for a certificate expiring in the panic_interval. For example, you could generate a monitoring alert. The default callback logs a message at CRITICAL level.

Logging as CRITICAL may not be the most visible thing to do if marathon-acme is just quietly running in a container somewhere... Send an email? Sentry error?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant