diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-06 17:13:42 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-07 10:01:11 +0200 |
commit | 8c7924171942f5f0d25c8a02f66d82f5be6edb5b (patch) | |
tree | bf460d632c742d101c09b34ac90e3ff5e3ee831f /common/changereplay.cpp | |
parent | 26121115954d89d677b631fd5e576ef263b0c41b (diff) | |
download | sink-8c7924171942f5f0d25c8a02f66d82f5be6edb5b.tar.gz sink-8c7924171942f5f0d25c8a02f66d82f5be6edb5b.zip |
Be less verbose
We already see the resource exiting.
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r-- | common/changereplay.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp index 6b4540e..7895b66 100644 --- a/common/changereplay.cpp +++ b/common/changereplay.cpp | |||
@@ -33,7 +33,6 @@ ChangeReplay::ChangeReplay(const ResourceContext &resourceContext, const Sink::L | |||
33 | : mStorage(storageLocation(), resourceContext.instanceId(), DataStore::ReadOnly), mChangeReplayStore(storageLocation(), resourceContext.instanceId() + ".changereplay", DataStore::ReadWrite), mReplayInProgress(false), mLogCtx{ctx.subContext("changereplay")}, | 33 | : mStorage(storageLocation(), resourceContext.instanceId(), DataStore::ReadOnly), mChangeReplayStore(storageLocation(), resourceContext.instanceId() + ".changereplay", DataStore::ReadWrite), mReplayInProgress(false), mLogCtx{ctx.subContext("changereplay")}, |
34 | mGuard{new QObject} | 34 | mGuard{new QObject} |
35 | { | 35 | { |
36 | SinkTraceCtx(mLogCtx) << "Created change replay: " << resourceContext.instanceId(); | ||
37 | } | 36 | } |
38 | 37 | ||
39 | qint64 ChangeReplay::getLastReplayedRevision() | 38 | qint64 ChangeReplay::getLastReplayedRevision() |
@@ -55,7 +54,6 @@ bool ChangeReplay::allChangesReplayed() | |||
55 | SinkWarningCtx(mLogCtx) << error.message; | 54 | SinkWarningCtx(mLogCtx) << error.message; |
56 | })); | 55 | })); |
57 | const qint64 lastReplayedRevision = getLastReplayedRevision(); | 56 | const qint64 lastReplayedRevision = getLastReplayedRevision(); |
58 | SinkTraceCtx(mLogCtx) << "Checking if all replayed. Top revision:" << topRevision << "Last replayed:" << lastReplayedRevision; | ||
59 | return (lastReplayedRevision >= topRevision); | 57 | return (lastReplayedRevision >= topRevision); |
60 | } | 58 | } |
61 | 59 | ||