pad log source when logging to file too
This commit is contained in:
parent
829c8fca96
commit
bed133d3dd
@ -786,7 +786,7 @@ class SvcHub(object):
|
||||
if "\033" in msg:
|
||||
msg += "\033[0m"
|
||||
|
||||
self.logf.write("@%s [%s] %s\n" % (ts, src, msg))
|
||||
self.logf.write("@%s [%-21s] %s\n" % (ts, src, msg))
|
||||
if not self.args.no_logflush:
|
||||
self.logf.flush()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user