From 6f3f86f9617486e1d30f263189fedafa1fedd62e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 14 Mar 2017 11:41:32 +0100 Subject: Debug output --- common/synchronizer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/synchronizer.cpp') diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index e722f57..c7c0af5 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp @@ -353,7 +353,7 @@ KAsync::Job Synchronizer::processRequest(const SyncRequest &request) Q_ASSERT(!request.requestId.isEmpty()); //FIXME it looks like this is emitted before the replay actually finishes if (request.flushType == Flush::FlushReplayQueue) { - SinkTraceCtx(mLogCtx) << "Emitting flush completion."; + SinkTraceCtx(mLogCtx) << "Emitting flush completion: " << request.requestId; Sink::Notification n; n.type = Sink::Notification::FlushCompletion; n.id = request.requestId; @@ -410,7 +410,7 @@ KAsync::Job Synchronizer::processSyncQueue() emit changesReplayed(); } if (error) { - SinkWarningCtx(mLogCtx) << "Error during sync: " << error.errorMessage; + SinkWarningCtx(mLogCtx) << "Error during sync: " << error; } //In case we got more requests meanwhile. return processSyncQueue(); -- cgit v1.2.3