[libcalamares] Reduce chatty logging
- Only log module-search entries when they are bad.
This commit is contained in:
parent
53cdf0b054
commit
b6ea171365
@ -81,8 +81,6 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri
|
|||||||
{
|
{
|
||||||
if ( path == "local" )
|
if ( path == "local" )
|
||||||
{
|
{
|
||||||
cDebug() << "module-search local";
|
|
||||||
|
|
||||||
// If we're running in debug mode, we assume we might also be
|
// If we're running in debug mode, we assume we might also be
|
||||||
// running from the build dir, so we add a maximum priority
|
// running from the build dir, so we add a maximum priority
|
||||||
// module search path in the build dir.
|
// module search path in the build dir.
|
||||||
@ -105,11 +103,10 @@ interpretModulesSearch( const bool debugMode, const QStringList& rawPaths, QStri
|
|||||||
QDir d( path );
|
QDir d( path );
|
||||||
if ( d.exists() && d.isReadable() )
|
if ( d.exists() && d.isReadable() )
|
||||||
{
|
{
|
||||||
cDebug() << "module-search exists" << d.absolutePath();
|
|
||||||
output.append( d.absolutePath() );
|
output.append( d.absolutePath() );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cDebug() << "module-search non-existent" << path;
|
cDebug() << " .. module-search entry non-existent" << path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user