From b16ee10736498ca6eb85ebf617219ab8704e61a7 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Mon, 1 Jul 2024 15:40:24 +0200 Subject: [PATCH] avoid logs too verbose and with binary data with those logs, hydrating is causing too much log to be written and after some time (with big fixles), hydration is failing Signed-off-by: Matthieu Gallien --- src/libsync/vfs/cfapi/cfapiwrapper.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libsync/vfs/cfapi/cfapiwrapper.cpp b/src/libsync/vfs/cfapi/cfapiwrapper.cpp index 7dcedcff422de..3e2928f7bc17c 100644 --- a/src/libsync/vfs/cfapi/cfapiwrapper.cpp +++ b/src/libsync/vfs/cfapi/cfapiwrapper.cpp @@ -237,25 +237,18 @@ void CALLBACK cfApiFetchDataCallback(const CF_CALLBACK_INFO *callbackInfo, const const auto alignAndSendData = [&](const QByteArray &receivedData) { QByteArray data = protrudingData + receivedData; - qCWarning(lcCfApiWrapper) << "protrudingData + receivedData:" << data; protrudingData.clear(); if (data.size() < cfapiBlockSize) { protrudingData = data; - qCWarning(lcCfApiWrapper) << "protrudingData:" << protrudingData; sendTransferInfo(data, dataOffset); dataOffset += data.size(); return; } const auto protudingSize = data.size() % cfapiBlockSize; - qCWarning(lcCfApiWrapper) << "protudingSize:" << protudingSize; protrudingData = data.right(protudingSize); - qCWarning(lcCfApiWrapper) << "data.right(protudingSize):" << protrudingData; data.chop(protudingSize); - qCWarning(lcCfApiWrapper) << "data.chop(protudingSize)" << data; - qCWarning(lcCfApiWrapper) << "sendTransferInfo(data:" << data << ", dataOffset:" << dataOffset << ")"; sendTransferInfo(data, dataOffset); dataOffset += data.size(); - qCWarning(lcCfApiWrapper) << "dataOffset:" << dataOffset; }; QObject::connect(&socket, &QLocalSocket::readyRead, &loop, [&] {