zachomedia / cert-manager-webhook-pdns

A PowerDNS webhook for cert-manager
MIT License
59 stars 35 forks source link

logging: Make more structured #31

Closed msiebuhr closed 1 year ago

msiebuhr commented 1 year ago

Changes the message from

Presenting challenge: meet.one.com => one.com./_acme-challenge.meet.one.com.

to

"Presenting challenge" dnsName="meet.one.com" resolvedZone="one.com." resolvedFQDN="_acme-challenge.meet.one.com."

I know logging is largely personal preference, I must say that having the data clearly spelled out really helps in debugging systems I only occasionally touch.