From de175bfb1fe969b30e1c3a883ed3aa5acbad4cba Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Fri, 27 Nov 2020 20:29:04 +0100 Subject: [PATCH] pmb.helpers.run_core.background: tweak log msg (MR 1996) This makes the output mode apparent --- pmb/helpers/run_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/helpers/run_core.py b/pmb/helpers/run_core.py index 9a0947b0..48e20d46 100644 --- a/pmb/helpers/run_core.py +++ b/pmb/helpers/run_core.py @@ -41,7 +41,7 @@ def background(args, cmd, working_dir=None): """ Run a subprocess in background and redirect its output to the log. """ ret = subprocess.Popen(cmd, stdout=args.logfd, stderr=args.logfd, cwd=working_dir) - logging.debug("Started process in background with PID " + str(ret.pid)) + logging.debug(f"New background process: pid={ret.pid}, output=background") return ret