diff options
author | Katja Marttila <katja.marttila@qt.io> | 2020-02-18 13:55:25 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2020-02-20 07:37:12 +0000 |
commit | 6163fc05768b6a7d05530ef5c33d8f024ebd6b6d (patch) | |
tree | cabc13d262a32fa5b7417fbbead9bf60a4cf795c /src/libs/installer/installiconsoperation.cpp | |
parent | 276d8aafe9410f82c6c342f060332e5bba44fecd (diff) |
CLI: decrease the amount of default debug prints
Debug prints can be suppressed or extended with logging rules. Make the
default usage so that only relevant information will be shown to user,
such as uninstall/install progress, server information, warning messages
and package name, version and displayname.
Change-Id: I09be754a36dd97530d75cdea3edb5fc77e67a856
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src/libs/installer/installiconsoperation.cpp')
-rw-r--r-- | src/libs/installer/installiconsoperation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/installiconsoperation.cpp b/src/libs/installer/installiconsoperation.cpp index 1b227a05b..7b02bb964 100644 --- a/src/libs/installer/installiconsoperation.cpp +++ b/src/libs/installer/installiconsoperation.cpp @@ -266,10 +266,10 @@ bool InstallIconsOperation::undoOperation() } if (!warningMessages.isEmpty()) { - qCWarning(QInstaller::lcGeneral) << "Undo of operation" << name() << "with arguments" + qCWarning(QInstaller::lcInstallerUninstallLog) << "Undo of operation" << name() << "with arguments" << arguments().join(QLatin1String(", ")) << "had some problems."; foreach (const QString &message, warningMessages) { - qCWarning(QInstaller::lcGeneral).noquote() << message; + qCWarning(QInstaller::lcInstallerUninstallLog).noquote() << message; } } |