From: Matthieu Gallien Date: Thu, 3 Oct 2024 16:28:08 +0000 (+0200) Subject: remove too verbose not so usefull logs X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~141^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a2b088759e10d6b08b599192be6272858c5f5afe;p=nextcloud-desktop.git remove too verbose not so usefull logs Signed-off-by: Matthieu Gallien --- diff --git a/src/libsync/cookiejar.cpp b/src/libsync/cookiejar.cpp index 7e6158f84..f0e3bca10 100644 --- a/src/libsync/cookiejar.cpp +++ b/src/libsync/cookiejar.cpp @@ -87,7 +87,6 @@ bool CookieJar::setCookiesFromUrl(const QList &cookieList, const QList CookieJar::cookiesForUrl(const QUrl &url) const { QList cookies = QNetworkCookieJar::cookiesForUrl(url); - qCDebug(lcCookieJar) << url << "requests:" << cookies; return cookies; } diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index 138d1cc1e..475f7aa32 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -716,16 +716,6 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(const SyncFileItemPtr &it item->_lockTimeout = serverEntry.lockTimeout; item->_lockToken = serverEntry.lockToken; - qCDebug(lcDisco()) << "item lock for:" << item->_file - << item->_locked - << item->_lockOwnerDisplayName - << item->_lockOwnerId - << item->_lockOwnerType - << item->_lockEditorApp - << item->_lockTime - << item->_lockTimeout - << item->_lockToken; - // Check for missing server data { QStringList missingData; @@ -753,18 +743,12 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo(const SyncFileItemPtr &it // Add on a second as a precaution, sometimes we catch the server before it has had a chance to update const auto lockExpirationTimeout = qMax(5LL, timeRemaining + 1); - qCDebug(lcDisco) << "File:" << path._original << "is locked." - << "Lock expires in:" << lockExpirationTimeout << "seconds." - << "A sync run will be scheduled for around that time."; - _discoveryData->_anotherSyncNeeded = true; _discoveryData->_filesNeedingScheduledSync.insert(path._original, lockExpirationTimeout); } else if (serverEntry.locked == SyncFileItem::LockStatus::UnlockedItem && dbEntry._lockstate._locked) { // We have received data that this file has been unlocked remotely, so let's notify the sync engine // that we no longer need a scheduled sync run for this file - qCInfo(lcDisco) << "File:" << path._original << "is unlocked and a scheduled sync is no longer needed." - << "Will remove scheduled sync if there is one."; _discoveryData->_filesUnscheduleSync.append(path._original); } diff --git a/src/libsync/syncfileitem.cpp b/src/libsync/syncfileitem.cpp index 4b71c7534..8b195d647 100644 --- a/src/libsync/syncfileitem.cpp +++ b/src/libsync/syncfileitem.cpp @@ -130,7 +130,6 @@ SyncJournalFileRecord SyncFileItem::toSyncJournalFileRecordWithInode(const QStri // Update the inode if possible rec._inode = _inode; if (FileSystem::getInode(localFileName, &rec._inode)) { - qCDebug(lcFileItem) << localFileName << "Retrieved inode " << rec._inode << "(previous item inode: " << _inode << ")"; } else { // use the "old" inode coming with the item for the case where the // filesystem stat fails. That can happen if the the file was removed