mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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.
This commit is contained in:
committed by
neil saitug
parent
7514d7fb48
commit
c9d24b1de2
@@ -146,6 +146,7 @@ class TailableProc(object):
|
|||||||
self.outputDir = outputDir
|
self.outputDir = outputDir
|
||||||
self.logsearch_start = 0
|
self.logsearch_start = 0
|
||||||
self.err_logs = []
|
self.err_logs = []
|
||||||
|
self.prefix = ""
|
||||||
|
|
||||||
# Should we be logging lines we read from stdout?
|
# Should we be logging lines we read from stdout?
|
||||||
self.verbose = verbose
|
self.verbose = verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user