go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
7.58k stars 994 forks source link

Improve observability #2005

Open shirchen opened 11 months ago

shirchen commented 11 months ago

Welcome

How do you use lego?

Library

Detailed Description

Adding logging under the following conditions would help diagnose when expirations are set:

  1. A create order request succeeds - log the acme expiration timestamp, the order status, and the location url
  2. The acme finalize request completes - log the order status and any error details
  3. During the certificate fetching order loop - log the order status and any error details