From 8ecf0e9faa6e6e2230e12b9fca17fe9e85ded96d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 3 Oct 2024 18:32:45 +0200 Subject: [PATCH] remove internal logs in propagation scheduler: not usefull Signed-off-by: Matthieu Gallien --- src/libsync/owncloudpropagator.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/libsync/owncloudpropagator.cpp b/src/libsync/owncloudpropagator.cpp index d83aedf24..d382840e5 100644 --- a/src/libsync/owncloudpropagator.cpp +++ b/src/libsync/owncloudpropagator.cpp @@ -1579,8 +1579,6 @@ void PropagateRootDirectory::appendDirDeletionJob(PropagatorJob *job) bool PropagateRootDirectory::scheduleSelfOrChild() { - qCInfo(lcRootDirectory()) << "scheduleSelfOrChild" << _state << "pending uploads" << propagator()->delayedTasks().size() << "subjobs state" << _subJobs._state; - if (_state == Finished) { return false; } @@ -1603,8 +1601,6 @@ bool PropagateRootDirectory::scheduleSelfOrChild() void PropagateRootDirectory::slotSubJobsFinished(SyncFileItem::Status status) { - qCInfo(lcRootDirectory()) << status << "slotSubJobsFinished" << _state << "pending uploads" << propagator()->delayedTasks().size() << "subjobs state" << _subJobs._state; - if (!propagator()->delayedTasks().empty()) { scheduleDelayedJobs(); return; @@ -1619,7 +1615,6 @@ void PropagateRootDirectory::slotSubJobsFinished(SyncFileItem::Status status) // Synchronously abort abort(AbortType::Synchronous); _state = Finished; - qCInfo(lcPropagator) << "PropagateRootDirectory::slotSubJobsFinished" << "emit finished" << status; emit finished(status); } return; @@ -1653,18 +1648,15 @@ void PropagateRootDirectory::slotSubJobsFinished(SyncFileItem::Status status) void PropagateRootDirectory::slotDirDeletionJobsFinished(SyncFileItem::Status status) { if (_errorStatus != SyncFileItem::NoStatus && status == SyncFileItem::Success) { - qCInfo(lcPropagator) << "PropagateRootDirectory::slotDirDeletionJobsFinished" << "reporting previous error" << _errorStatus; status = _errorStatus; } _state = Finished; - qCInfo(lcPropagator) << "PropagateRootDirectory::slotDirDeletionJobsFinished" << "emit finished" << status; emit finished(status); } bool PropagateRootDirectory::scheduleDelayedJobs() { - qCInfo(lcPropagator) << "PropagateRootDirectory::scheduleDelayedJobs"; propagator()->setScheduleDelayedTasks(true); auto bulkPropagatorJob = std::make_unique(propagator(), propagator()->delayedTasks()); propagator()->clearDelayedTasks();