From c9e9ecbe93fa5f8e705f7e765699753eb0f85a61 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 3 Oct 2024 18:42:11 +0200 Subject: [PATCH] downgrade severity level of logs during propagation Signed-off-by: Matthieu Gallien --- src/gui/tray/usermodel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/tray/usermodel.cpp b/src/gui/tray/usermodel.cpp index 296da16eb181b..9c9f3cf819e93 100644 --- a/src/gui/tray/usermodel.cpp +++ b/src/gui/tray/usermodel.cpp @@ -804,7 +804,7 @@ void User::processCompletedSyncItem(const Folder *folder, const SyncFileItemPtr activity._fileAction = fileActionFromInstruction(item->_instruction); if (item->_status == SyncFileItem::NoStatus || item->_status == SyncFileItem::Success) { - qCWarning(lcActivity) << "Item " << item->_file << " retrieved successfully."; + qCDebug(lcActivity) << "Item " << item->_file << " retrieved successfully."; if (item->_direction != SyncFileItem::Up) { activity._message = QObject::tr("Synced %1").arg(fileName); @@ -839,7 +839,7 @@ void User::processCompletedSyncItem(const Folder *folder, const SyncFileItemPtr _activityModel->addSyncFileItemToActivityList(activity); } else { - qCWarning(lcActivity) << "Item " << item->_file << " retrieved resulted in error " << item->_errorString; + qCInfo(lcActivity) << "Item " << item->_file << " retrieved resulted in error " << item->_errorString; activity._subject = item->_errorString; activity._id = -static_cast(qHash(activity._subject + activity._message)); @@ -885,7 +885,7 @@ void User::slotItemCompleted(const QString &folder, const SyncFileItemPtr &item) return; } - qCWarning(lcActivity) << "Item " << item->_file << " retrieved resulted in " << item->_errorString; + qCDebug(lcActivity) << "Item " << item->_file << " retrieved resulted in " << item->_errorString; processCompletedSyncItem(folderInstance, item); }