Browse Source

pyln: Set the prefix in TailableProc

We rely on it when logging, but didn't set it in the class, rather we
did in the sub-classes. This proved to be rather annoying to search
since it'd just fail silently and not log any output.
fix-mocks
Christian Decker 4 years ago
committed by neil saitug
parent
commit
c9d24b1de2
  1. 1
      contrib/pyln-testing/pyln/testing/utils.py

1
contrib/pyln-testing/pyln/testing/utils.py

@ -146,6 +146,7 @@ class TailableProc(object):
self.outputDir = outputDir
self.logsearch_start = 0
self.err_logs = []
self.prefix = ""
# Should we be logging lines we read from stdout?
self.verbose = verbose

Loading…
Cancel
Save