gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: more logging


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: more logging
Date: Sat, 16 Feb 2019 18:47:49 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d6bc98783 more logging
d6bc98783 is described below

commit d6bc987837d1c91653b0b775ace276eb9752c0a8
Author: ng0 <address@hidden>
AuthorDate: Sat Feb 16 17:47:44 2019 +0000

    more logging
---
 src/integration-tests/gnunet_testing.py.in | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/src/integration-tests/gnunet_testing.py.in 
b/src/integration-tests/gnunet_testing.py.in
index cbc3e5a45..18e90e426 100644
--- a/src/integration-tests/gnunet_testing.py.in
+++ b/src/integration-tests/gnunet_testing.py.in
@@ -196,20 +196,21 @@ class StatisticsCondition(Condition):
             fail = b""
             op = b" == "
         if (((self.fulfilled == False) and (failed_only == True)) or 
(failed_only == False)):
-            print(self.peer.id[:4] +
-                  b" " +
-                  self.peer.cfg.encode('utf-8') +
-                  b" " +
-                  str(self.type).encode('utf-8') +
-                  b' condition in subsystem "' +
-                  self.subsystem.encode('utf-8').ljust(12) +
-                  b'" : "' +
-                  self.name.encode('utf-8').ljust(30) +
-                  b'" : (expected/real value) ' +
-                  str(self.value).encode('utf-8') +
-                  op +
-                  res +
-                  fail)
+            # print(self.peer.id[:4] +
+            #       b" " +
+            #       self.peer.cfg.encode('utf-8') +
+            #       b" " +
+            #       str(self.type).encode('utf-8') +
+            #       b' condition in subsystem "' +
+            #       self.subsystem.encode('utf-8').ljust(12) +
+            #       b'" : "' +
+            #       self.name.encode('utf-8').ljust(30) +
+            #       b'" : (expected/real value) ' +
+            #       str(self.value).encode('utf-8') +
+            #       op +
+            #       res +
+            #       fail)
+            logger.debug('%s %s %s condition in subsystem %s : %s : 
(expected/real value) %s %s %s %s', self.peer.id[:4], 
self.peer.cfg.encode('utf-8'), str(self.type).encode('utf-8'), 
self.subsystem.encode('utf-8').ljust(12), self.name.encode('utf-8').ljust(30), 
str(self.value).encode('utf-8'), op, res, fail)
         return self.fulfilled
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]