[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



Author: mikeperry
Date: 2009-12-06 13:28:11 -0500 (Sun, 06 Dec 2009)
New Revision: 21104

Modified:
   torctl/trunk/python/TorCtl/TorCtl.py
Log:

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



Modified: torctl/trunk/python/TorCtl/TorCtl.py
===================================================================
--- torctl/trunk/python/TorCtl/TorCtl.py	2009-12-06 18:26:41 UTC (rev 21103)
+++ torctl/trunk/python/TorCtl/TorCtl.py	2009-12-06 18:28:11 UTC (rev 21104)
@@ -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