From b6ea17136515a81c4cbaaa3d5ee0a588595685a2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 4 Apr 2019 14:14:59 +0200 Subject: [PATCH] [libcalamares] Reduce chatty logging - Only log module-search entries when they are bad. --- src/libcalamares/Settings.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libcalamares/Settings.cpp b/src/libcalamares/Settings.cpp index 9bedbbe41..a43d18d10 100644 --- a/src/libcalamares/Settings.cpp +++ b/src/libcalamares/Settings.cpp @@ -81,8 +81,6 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri { if ( path == "local" ) { - cDebug() << "module-search local"; - // If we're running in debug mode, we assume we might also be // running from the build dir, so we add a maximum priority // module search path in the build dir. @@ -105,11 +103,10 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri QDir d( path ); if ( d.exists() && d.isReadable() ) { - cDebug() << "module-search exists" << d.absolutePath(); output.append( d.absolutePath() ); } else - cDebug() << "module-search non-existent" << path; + cDebug() << " .. module-search entry non-existent" << path; } } }