diff --git a/sqlitecluster/SQLiteNode.cpp b/sqlitecluster/SQLiteNode.cpp index fd65588b8..01240f718 100644 --- a/sqlitecluster/SQLiteNode.cpp +++ b/sqlitecluster/SQLiteNode.cpp @@ -1723,7 +1723,7 @@ void SQLiteNode::_onMESSAGE(SQLitePeer* peer, const SData& message) { uint64_t cancelAfter = message.calcU64("NewCount") - 1; _localCommitNotifier.cancel(cancelAfter); _leaderCommitNotifier.cancel(cancelAfter); - SWARN(format("Caught system_error starting _replicate thread with {} threads. cancelAfter={} e.what()={}", _replicationThreadCount.load(), cancelAfter, e.what())); + SWARN("Caught system_error starting _replicate thread with" << _replicationThreadCount.load() << " threads. cancelAfter=" << cancelAfter << " e.what()=" << e.what()); STHROW("Error starting replicate thread so giving up and reconnecting."); } SDEBUG("Done spawning concurrent replicate thread: " << threadID);