From 245e7837bf7e3891d9f83c65531a9e613db4822b Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 12 Jun 2023 11:02:16 +0200 Subject: [PATCH] less info logs during discovery those log lines mostly duplicate info we already have at info level Signed-off-by: Matthieu Gallien --- src/libsync/discovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index ff9441f90..e50817cb3 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -552,7 +552,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo( item->_lockEditorApp = serverEntry.lockEditorApp; item->_lockTime = serverEntry.lockTime; item->_lockTimeout = serverEntry.lockTimeout; - qCInfo(lcDisco()) << item->_locked << item->_lockOwnerDisplayName << item->_lockOwnerId << item->_lockOwnerType << item->_lockEditorApp << item->_lockTime << item->_lockTimeout; + qCDebug(lcDisco()) << item->_locked << item->_lockOwnerDisplayName << item->_lockOwnerId << item->_lockOwnerType << item->_lockEditorApp << item->_lockTime << item->_lockTimeout; // Check for missing server data { @@ -581,7 +581,7 @@ void ProcessDirectoryJob::processFileAnalyzeRemoteInfo( // 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); - qCInfo(lcDisco) << "File:" << path._original << "is locked." + qCDebug(lcDisco) << "File:" << path._original << "is locked." << "Lock expires in:" << lockExpirationTimeout << "seconds." << "A sync run will be scheduled for around that time."; -- 2.30.2