mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Better logging
This commit is contained in:
parent
3e7f64dfe8
commit
4d312d8ffe
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue