mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:31:51 +02:00
improving logging again
This commit is contained in:
+2
-2
@@ -188,7 +188,7 @@ def testchallenge(session):
|
|||||||
failed = r.hget(challenge, "failed") == "True"
|
failed = r.hget(challenge, "failed") == "True"
|
||||||
# TODO: check whether this challenge is too old
|
# TODO: check whether this challenge is too old
|
||||||
if not satisfied and not failed:
|
if not satisfied and not failed:
|
||||||
if debug: print "challenge", short(challenge), "being tested"
|
# if debug: print "challenge", short(challenge), "being tested"
|
||||||
if challtype == 0: # DomainValidateSNI
|
if challtype == 0: # DomainValidateSNI
|
||||||
if debug: print "\tbeginning dvsni test to %s" % name
|
if debug: print "\tbeginning dvsni test to %s" % name
|
||||||
dvsni_nonce = r.hget(challenge, "dvsni:nonce")
|
dvsni_nonce = r.hget(challenge, "dvsni:nonce")
|
||||||
@@ -221,7 +221,7 @@ def testchallenge(session):
|
|||||||
# response to an empty list of challenges (even though
|
# response to an empty list of challenges (even though
|
||||||
# the daemon that put this session on the queue should
|
# the daemon that put this session on the queue should
|
||||||
# also have implicitly guaranteed this).
|
# also have implicitly guaranteed this).
|
||||||
if debug: print "\tall challenges satisfied, going to issue", short(session)
|
if debug: print "\t** All challenges satisfied; request %s GRANTED", short(session)
|
||||||
r.hset(session, "state", "issue")
|
r.hset(session, "state", "issue")
|
||||||
r.lpush("pending-issue", session)
|
r.lpush("pending-issue", session)
|
||||||
r.publish("requests", "issue")
|
r.publish("requests", "issue")
|
||||||
|
|||||||
Reference in New Issue
Block a user