From 61923d14fc525c4c3c422e7d8aed342f51acd27d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 10 Oct 2024 10:04:51 +0200 Subject: [PATCH 1/3] remove not so usefull log output Signed-off-by: Matthieu Gallien --- src/libsync/owncloudpropagator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libsync/owncloudpropagator.cpp b/src/libsync/owncloudpropagator.cpp index f545edb87e129..764ec294cbcc9 100644 --- a/src/libsync/owncloudpropagator.cpp +++ b/src/libsync/owncloudpropagator.cpp @@ -1468,7 +1468,6 @@ void PropagateDirectory::slotSubJobsFinished(SyncFileItem::Status status) } } _state = Finished; - qCInfo(lcPropagator) << "PropagateDirectory::slotSubJobsFinished" << "emit finished" << status; emit finished(status); } From dad4b37c9d9b86766a81292622a7bed5b1dcf6a9 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 10 Oct 2024 10:36:16 +0200 Subject: [PATCH 2/3] remove info level output from activity list model: not so usefull they just are printed when everything is working fine Signed-off-by: Matthieu Gallien --- src/gui/tray/activitylistmodel.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gui/tray/activitylistmodel.cpp b/src/gui/tray/activitylistmodel.cpp index 3976e9950c3c5..fd98c0a11dab5 100644 --- a/src/gui/tray/activitylistmodel.cpp +++ b/src/gui/tray/activitylistmodel.cpp @@ -660,14 +660,8 @@ void ActivityListModel::removeActivityFromActivityList(int row) void ActivityListModel::removeActivityFromActivityList(const Activity &activity) { - qCInfo(lcActivity) << "Activity/Notification/Error successfully dismissed: " << activity._subject; - qCInfo(lcActivity) << "Trying to remove Activity/Notification/Error from view... "; - const auto index = _finalList.indexOf(activity); if (index != -1) { - qCInfo(lcActivity) << "Activity/Notification/Error successfully removed from the list."; - qCInfo(lcActivity) << "Updating Activity/Notification/Error view."; - beginRemoveRows({}, index, index); _finalList.removeAt(index); endRemoveRows(); From fe2d08c7dac05adf2c0c8829c07bc53fd393033b Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 10 Oct 2024 10:38:00 +0200 Subject: [PATCH 3/3] improve log when too many deleted files are detected Signed-off-by: Matthieu Gallien --- src/libsync/syncengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp index 6a092b88fcc68..795142922209f 100644 --- a/src/libsync/syncengine.cpp +++ b/src/libsync/syncengine.cpp @@ -1111,7 +1111,7 @@ bool SyncEngine::handleMassDeletion() const auto filesDeletedThresholdExceeded = deletionCounter > ConfigFile().deleteFilesThreshold(); if ((allFilesDeleted || filesDeletedThresholdExceeded) && displayDialog) { - qCInfo(lcEngine) << "All the files are going to be changed, asking the user"; + qCWarning(lcEngine) << "Many files are going to be deleted, asking the user"; int side = 0; // > 0 means more deleted on the server. < 0 means more deleted on the client for (const auto &it : qAsConst(_syncItems)) { if (it->_instruction == CSYNC_INSTRUCTION_REMOVE) {