pad log source when logging to file too

This commit is contained in:
ed 2023-12-31 17:21:02 +00:00
parent 829c8fca96
commit bed133d3dd

View file

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