summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/component.cpp
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2020-07-03 09:49:41 +0300
committerKatja Marttila <katja.marttila@qt.io>2020-08-24 13:44:24 +0300
commit40c43e4c312c9f1cc4e2e44ac31b4482ccbbc6c0 (patch)
tree060519ebd49fcfaac5129bc395e5c849d318b46f /src/libs/installer/component.cpp
parentf2ab63396c1f101216b2c6ade37528492e464785 (diff)
Add verbose levels and cleanup log categories
Setting several verbose switches enables more logging and performs component checking. Also cleanup some logging categories and unify the rules. Task-number: QTIFW-1914 Change-Id: I9195f4bb02affaa87e66cf9023a3512e65e0645b Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'src/libs/installer/component.cpp')
-rw-r--r--src/libs/installer/component.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp
index 389580e7c..234d57622 100644
--- a/src/libs/installer/component.cpp
+++ b/src/libs/installer/component.cpp
@@ -562,7 +562,7 @@ void Component::loadComponentScript(const QString &fileName)
} catch (const Error &error) {
if (packageManagerCore()->settings().allowUnstableComponents()) {
setUnstable(Component::UnstableError::ScriptLoadingFailed, error.message());
- qCWarning(QInstaller::lcInstallerInstallLog) << error.message();
+ qCWarning(QInstaller::lcDeveloperBuild) << error.message();
} else {
throw error;
}
@@ -879,8 +879,7 @@ QStringList Component::archives() const
void Component::addDownloadableArchive(const QString &path)
{
Q_ASSERT(isFromOnlineRepository());
-
- qCDebug(QInstaller::lcGeneral) << "addDownloadable" << path;
+ qCDebug(QInstaller::lcDeveloperBuild) << "addDownloadable" << path;
d->m_downloadableArchives.append(d->m_vars.value(scVersion) + path);
}
@@ -1341,7 +1340,7 @@ bool Component::isDefault() const
}
if (!valueFromScript.isError())
return valueFromScript.toBool();
- qCWarning(QInstaller::lcInstallerInstallLog) << "Value from script is not valid."
+ qCWarning(QInstaller::lcDeveloperBuild) << "Value from script is not valid."
<< (valueFromScript.toString().isEmpty()
? QString::fromLatin1("Unknown error.") : valueFromScript.toString());
return false;