From 5cd233b1cfe6e3aa47378a6f1a872174f0c34b72 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 20 Sep 2023 13:18:22 +0200 Subject: [PATCH] revert logging --- cura/BackendPlugin.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cura/BackendPlugin.py b/cura/BackendPlugin.py index 7729f6bbfc..bb52995841 100644 --- a/cura/BackendPlugin.py +++ b/cura/BackendPlugin.py @@ -75,15 +75,10 @@ class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject): # STDIN needs to be None because we provide no input, but communicate via a local socket instead. # The NUL device sometimes doesn't exist on some computers. Logger.info(f"Starting backend_plugin [{self._plugin_id}] with command: {self._validatePluginCommand()}") - popen_kwargs = {"stdin": None, "stdout": subprocess.PIPE, "stderr": subprocess.PIPE} + popen_kwargs = {"stdin": None } if Platform.isWindows(): popen_kwargs["creationflags"] = subprocess.CREATE_NO_WINDOW self._process = subprocess.Popen(self._validatePluginCommand(), **popen_kwargs) - stdout_data, stderr_data = self._process.communicate() - if stderr_data: - Logger.warning(f"Info on error-stream when starting backend_plugin [{self._plugin_id}] stderr: {str(stderr_data)}") - Logger.info( - f"Started backend_plugin [{self._plugin_id}] with PID: {self._process.pid}, stdout: {str(stdout_data)}") self._is_running = True return True except PermissionError: