mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
Better logging
This commit is contained in:
+2
-1
@@ -45,7 +45,6 @@ class RevocationChecker(object):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
logger.debug("Querying OCSP for %s", cert_path)
|
|
||||||
url, host = self.determine_ocsp_server(cert_path)
|
url, host = self.determine_ocsp_server(cert_path)
|
||||||
if not host:
|
if not host:
|
||||||
return False
|
return False
|
||||||
@@ -58,6 +57,8 @@ class RevocationChecker(object):
|
|||||||
"-CAfile", chain_path,
|
"-CAfile", chain_path,
|
||||||
"-verify_other", chain_path,
|
"-verify_other", chain_path,
|
||||||
"-header"] + self.host_args(host)
|
"-header"] + self.host_args(host)
|
||||||
|
logger.debug("Querying OCSP for %s", cert_path)
|
||||||
|
logger.debug(" ".join(cmd))
|
||||||
try:
|
try:
|
||||||
output, err = util.run_script(cmd, log=logging.debug)
|
output, err = util.run_script(cmd, log=logging.debug)
|
||||||
except errors.SubprocessError:
|
except errors.SubprocessError:
|
||||||
|
|||||||
Reference in New Issue
Block a user