From b0abb99ee1a65120f7089fe789215b7ee4a77d28 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 27 Feb 2020 13:24:23 +0100 Subject: [PATCH] [libcalamares] Don't log useless FUNC_INFO for Python - When a Python module calls utils.debug(), there's no point in logging the C++ funcinfo that passes the parameters on; don't use cDebug() with its attendant magic. --- src/libcalamares/PythonJobApi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcalamares/PythonJobApi.cpp b/src/libcalamares/PythonJobApi.cpp index 393958664..caa1cb1d2 100644 --- a/src/libcalamares/PythonJobApi.cpp +++ b/src/libcalamares/PythonJobApi.cpp @@ -148,7 +148,7 @@ check_target_env_output( const bp::list& args, const std::string& stdin, int tim void debug( const std::string& s ) { - cDebug() << "[PYTHON JOB]: " << QString::fromStdString( s ); + Logger::CDebug( Logger::LOGDEBUG ) << "[PYTHON JOB]: " << QString::fromStdString( s ); } void