[tor-commits] [ooni-probe/master] Change the messages regarding Tor version to debug level

art at torproject.org art at torproject.org
Sat Mar 3 00:35:53 UTC 2012


commit 4174c99dda431e1ab4b891e0c6f59a4b5282c5c7
Author: Arturo Filastò <hellais at gmail.com>
Date:   Fri Mar 2 16:35:45 2012 -0800

    Change the messages regarding Tor version to debug level
    related to #5207
---
 tests/bridget.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/bridget.py b/tests/bridget.py
index 86901cd..03cf60c 100644
--- a/tests/bridget.py
+++ b/tests/bridget.py
@@ -98,19 +98,19 @@ class BridgeT(Plugoo):
                     break
 
                 if int(x) > int(v_array_p[i]):
-                    self.logger.info("The Tor version is greater than %s" % version)
+                    self.logger.debug("The Tor version is greater than %s" % version)
                     return True
                 elif int(x) == int(v_array_p[i]):
                     self.logger.debug("The Tor version is greater than %s" % version)
                     continue
                 else:
-                    self.logger.warn("You run an outdated version of Tor: %s (< %s)" % (fullstring, version))
+                    self.logger.debug("You run an outdated version of Tor: %s (< %s)" % (fullstring, version))
                     return False
             except:
                 self.logger.error("Error in parsing your Tor version string: %s" % fullstring)
                 return False
 
-        self.logger.info("The Tor version is equal to %s" % version)
+        self.logger.debug("The Tor version is equal to %s" % version)
         return True
         # XXX currently don't consider the minor parts of the version
         # (alpha, dev, beta, etc.)



More information about the tor-commits mailing list