From bed133d3ddf0502ce8d92199d3e429de3e157599 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 31 Dec 2023 17:21:02 +0000 Subject: [PATCH] pad log source when logging to file too --- copyparty/svchub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/svchub.py b/copyparty/svchub.py index 763de049..8875d0e3 100644 --- a/copyparty/svchub.py +++ b/copyparty/svchub.py @@ -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()