From eb2c874a3901c6486a86a16e7c4752c21030af33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Wed, 27 Sep 2023 19:55:48 +0200 Subject: [PATCH] Remove duplicated logger print. --- src/runner/pythonutils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/runner/pythonutils.cpp b/src/runner/pythonutils.cpp index 349c722..0aed5a1 100644 --- a/src/runner/pythonutils.cpp +++ b/src/runner/pythonutils.cpp @@ -143,7 +143,6 @@ namespace mo2::python { handler.attr("setLevel")(PyLogLevel::DEBUG); auto logger = logging.attr("getLogger")(py::object(mobase.attr("__name__"))); logger.attr("setLevel")(PyLogLevel::DEBUG); - logger.attr("addHandler")(handler); // set mobase attributes mobase.attr("LogHandler") = MO2Handler;