]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Also log a Tor log entry when it has a substring we are waiting for
authorrl1987 <rl1987@sdf.lonestar.org>
Tue, 13 Nov 2018 09:38:51 +0000 (11:38 +0200)
committerNick Mathewson <nickm@torproject.org>
Sat, 1 Dec 2018 16:18:03 +0000 (11:18 -0500)
src/test/test_rebind.py

index cab6aafbb6c37578f738380652a864642b5e83d2..2215b42253d8ffeedeaeecc9d98c1cf278419e8e 100644 (file)
@@ -30,6 +30,7 @@ def wait_for_log(s):
         l = tor_process.stdout.readline()
         l = l.decode('utf8')
         if s in l:
+            logging.info('Tor logged: "{}"'.format(l.strip()))
             return
         logging.info('Tor logged: "{}", waiting for "{}"'.format(l.strip(), s))
         # readline() returns a blank string when there is no output