From b6aaf18c4268557753f41ff37cca2c32c48a47e9 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 24 Oct 2021 12:02:36 +0300 Subject: prefix for log_process() --- kvmd/plugins/ugpio/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/plugins/ugpio/cmd.py') diff --git a/kvmd/plugins/ugpio/cmd.py b/kvmd/plugins/ugpio/cmd.py index 6fa28409..7e549f1a 100644 --- a/kvmd/plugins/ugpio/cmd.py +++ b/kvmd/plugins/ugpio/cmd.py @@ -79,7 +79,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute return try: - proc = await aioproc.log_process(self.__cmd, logger=get_logger(0)) + proc = await aioproc.log_process(self.__cmd, logger=get_logger(0), prefix=str(self)) if proc.returncode != 0: raise RuntimeError(f"Custom command error: pid={proc.pid}; retcode={proc.returncode}") except Exception as err: -- cgit v1.2.3