From 31657804f4129550d22a28d00b62d4c9c1652f68 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Thu, 3 Oct 2024 16:53:55 +0200 Subject: [PATCH] remove too verbose logs during discovery will make the logs less verbose and improve performance Signed-off-by: Matthieu Gallien --- src/libsync/discoveryphase.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp index 606f34f35..0fcfabed9 100644 --- a/src/libsync/discoveryphase.cpp +++ b/src/libsync/discoveryphase.cpp @@ -468,7 +468,6 @@ static void propertyMapToRemoteInfo(const QMap &map, RemotePer } else if (property == QLatin1String("getlastmodified")) { value.replace("GMT", "+0000"); const auto date = QDateTime::fromString(value, Qt::RFC2822Date); - qCInfo(lcDiscovery()) << value << date << date.isValid() << QDateTime::currentDateTime().toString(Qt::RFC2822Date); Q_ASSERT(date.isValid()); result.modtime = 0; if (date.toSecsSinceEpoch() > 0) { @@ -567,7 +566,6 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(const QString &fi auto perm = RemotePermissions::fromServerString(map.value("permissions"), _account->serverHasMountRootProperty() ? RemotePermissions::MountedPermissionAlgorithm::UseMountRootProperty : RemotePermissions::MountedPermissionAlgorithm::WildGuessMountedSubProperty, map); - qCInfo(lcDiscovery()) << file << map.value("permissions") << map; emit firstDirectoryPermissions(perm); _isExternalStorage = perm.hasPermission(RemotePermissions::IsMounted); } @@ -602,7 +600,6 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(const QString &fi if (result.isDirectory) result.size = 0; - qCInfo(lcDiscovery()) << file << map.value("permissions") << result.remotePerm.toString() << map; _results.push_back(std::move(result)); }