[or-cvs] r21103: {torctl} Demote orhash mismatch notice to info. Can happen occasional (torctl/branches/stable/python/TorCtl)

mikeperry at seul.org mikeperry at seul.org
Sun Dec 6 18:26:41 UTC 2009


Author: mikeperry
Date: 2009-12-06 13:26:41 -0500 (Sun, 06 Dec 2009)
New Revision: 21103

Modified:
   torctl/branches/stable/python/TorCtl/TorCtl.py
Log:

Demote orhash mismatch notice to info. Can happen
occasionally during consensus updates.



Modified: torctl/branches/stable/python/TorCtl/TorCtl.py
===================================================================
--- torctl/branches/stable/python/TorCtl/TorCtl.py	2009-12-06 11:32:56 UTC (rev 21102)
+++ torctl/branches/stable/python/TorCtl/TorCtl.py	2009-12-06 18:26:41 UTC (rev 21103)
@@ -791,7 +791,7 @@
     fp_base64 = sha.sha(desc[:sig_start]).digest().encode("base64")[:-2]
     r = Router.build_from_desc(desc.split("\n"), ns)
     if fp_base64 != ns.orhash:
-      plog("NOTICE", "Router descriptor for "+ns.idhex+" does not match ns fingerprint (NS @ "+str(ns.updated)+" vs Desc @ "+str(r.published)+")")
+      plog("INFO", "Router descriptor for "+ns.idhex+" does not match ns fingerprint (NS @ "+str(ns.updated)+" vs Desc @ "+str(r.published)+")")
       return None
     else:
       return r



More information about the tor-commits mailing list