From 41b59fbc916aed1e38f6deb935fe7ed35fdcd482 Mon Sep 17 00:00:00 2001 From: Seth Schoen Date: Mon, 13 Aug 2012 00:52:31 -0700 Subject: [PATCH] improving logging again --- server-ca/daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-ca/daemon.py b/server-ca/daemon.py index 497a6b6eb..83062f463 100644 --- a/server-ca/daemon.py +++ b/server-ca/daemon.py @@ -188,7 +188,7 @@ def testchallenge(session): failed = r.hget(challenge, "failed") == "True" # TODO: check whether this challenge is too old 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 debug: print "\tbeginning dvsni test to %s" % name dvsni_nonce = r.hget(challenge, "dvsni:nonce") @@ -221,7 +221,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 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.lpush("pending-issue", session) r.publish("requests", "issue")