From c9d24b1de246531e45ce3a954c1c90fa0f114f72 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 12 Nov 2020 13:20:02 +0100 Subject: [PATCH] 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. --- contrib/pyln-testing/pyln/testing/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/pyln-testing/pyln/testing/utils.py b/contrib/pyln-testing/pyln/testing/utils.py index 733edb449..dde8c51e2 100644 --- a/contrib/pyln-testing/pyln/testing/utils.py +++ b/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