From fe2d08c7dac05adf2c0c8829c07bc53fd393033b Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 10 Oct 2024 10:38:00 +0200 Subject: [PATCH] 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) {