diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 4b4d8046e..09624895f 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -840,6 +840,8 @@ void ApiListener::ApiTimerHandler() continue; if (ts > endpoint->GetLocalLogPosition()) { + Log(LogCritical, "DEBUG-REPLAYLOG") + << "Keeping replay log '" << ts << "' because of endpoint '" << endpoint->GetName() << "' with log position '" << endpoint->GetLocalLogPosition() << "'"; need = true; break; }