Browse Source

Also log a Tor log entry when it has a substring we are waiting for

rl1987 5 years ago
parent
commit
945c4dfda0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/test_rebind.py

+ 1 - 0
src/test/test_rebind.py

@@ -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