Merge pull request #7290 from nextcloud/bugfix/improveLogsAgainFromUsingThem

Cleaning logs
This commit is contained in:
Matthieu Gallien 2024-10-10 15:08:33 +02:00 committed by GitHub
commit ceaa125536
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 8 deletions

View file

@ -656,14 +656,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();

View file

@ -1521,7 +1521,6 @@ void PropagateDirectory::slotSubJobsFinished(SyncFileItem::Status status)
}
}
_state = Finished;
qCInfo(lcPropagator) << "PropagateDirectory::slotSubJobsFinished" << "emit finished" << status << _item->_file;
emit finished(status);
}

View file

@ -1119,7 +1119,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) {