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

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



commit 4174c99dda431e1ab4b891e0c6f59a4b5282c5c7
Author: Arturo Filastò <hellais@xxxxxxxxx>
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.)

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits