From f354076c0b06831f912fa87ee3e3114aefd08dfd Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Mon, 12 Sep 2022 10:23:17 +0200 Subject: [PATCH] log processor spawn --- vanilla_first_setup/utils/processor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vanilla_first_setup/utils/processor.py b/vanilla_first_setup/utils/processor.py index 29379c8..ef063a7 100644 --- a/vanilla_first_setup/utils/processor.py +++ b/vanilla_first_setup/utils/processor.py @@ -1,12 +1,18 @@ +import logging import subprocess +logger = logging.getLogger("FirstSetup::Processor") + + class Processor: def __init__(self, config: 'Config'): self.__config = config def run(self): + logger.info(f"Spawning processor with config: {self.__config.get_str()}") + proc = subprocess.run( ["pkexec", "vanilla-first-setup-processor", self.__config.get_str()], check=True