mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 07:42:08 -04:00
make logging clearer to read
This commit is contained in:
parent
095cf1c764
commit
8cda7066b4
1 changed files with 3 additions and 2 deletions
|
|
@ -187,7 +187,8 @@ def testchallenge(session):
|
|||
direct_result, direct_reason = verify_challenge(name, dvsni_r, dvsni_nonce, False)
|
||||
proxy_result, proxy_reason = verify_challenge(name, dvsni_r, dvsni_nonce, True)
|
||||
if debug:
|
||||
print "\tdirect probe: %s (%s) proxy probe: %s (%s)" % (direct_result, direct_reason, proxy_result, proxy_reason)
|
||||
print "\t...direct probe: %s (%s)" % (direct_result, direct_reason)
|
||||
print "\tTor proxy probe: %s (%s)" % (proxy_result, proxy_reason)
|
||||
if direct_result and proxy_result:
|
||||
r.hset(challenge, "satisfied", True)
|
||||
else:
|
||||
|
|
@ -210,7 +211,7 @@ def testchallenge(session):
|
|||
# response to an empty list of challenges (even though
|
||||
# the daemon that put this session on the queue should
|
||||
# also have implicitly guaranteed this).
|
||||
if debug: print "\tall satisfied, going to issue", session
|
||||
if debug: print "\tall challenges satisfied, going to issue", session
|
||||
r.hset(session, "state", "issue")
|
||||
r.lpush("pending-issue", session)
|
||||
r.publish("requests", "issue")
|
||||
|
|
|
|||
Loading…
Reference in a new issue