From 4d312d8ffe2f3875eddb21321f97eb94f2e49f57 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Thu, 5 Jan 2017 11:03:53 -0800 Subject: [PATCH] Better logging --- certbot/ocsp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/certbot/ocsp.py b/certbot/ocsp.py index 94a74c498..f96d44337 100644 --- a/certbot/ocsp.py +++ b/certbot/ocsp.py @@ -45,7 +45,6 @@ class RevocationChecker(object): return False - logger.debug("Querying OCSP for %s", cert_path) url, host = self.determine_ocsp_server(cert_path) if not host: return False @@ -58,6 +57,8 @@ class RevocationChecker(object): "-CAfile", chain_path, "-verify_other", chain_path, "-header"] + self.host_args(host) + logger.debug("Querying OCSP for %s", cert_path) + logger.debug(" ".join(cmd)) try: output, err = util.run_script(cmd, log=logging.debug) except errors.SubprocessError: