unixcharles / acme-client

A Ruby client for the letsencrypt's ACME protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a possibility of logging the actual HTTP requests and responses?

noteflakes opened this issue · comments

Hi, is there any way of passing a logger to Acme::Client or some other facility for logging the HTTP traffic?

Using connection_options you can pass option to Faraday but I don't think you can log the entire body of the response.

You could always monkey patch #new_connection to inject a custom middleware logger.