From 5e6f66d37d6322600d3fea56e3cbab22f71c1355 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 1 Mar 2021 00:38:22 +0100 Subject: [PATCH] DPL: improve message when driver client is not yet connected (#5582) --- Framework/Core/src/WSDriverClient.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Framework/Core/src/WSDriverClient.cxx b/Framework/Core/src/WSDriverClient.cxx index 06ecd04d473a2..c4c60861042fb 100644 --- a/Framework/Core/src/WSDriverClient.cxx +++ b/Framework/Core/src/WSDriverClient.cxx @@ -98,25 +98,25 @@ void WSDriverClient::flushPending() static bool printed1 = false; static bool printed2 = false; if (!mClient) { - if (mBacklog.size() > 1000) { + if (mBacklog.size() > 2000) { if (!printed1) { - LOG(WARNING) << "Unable to communicate with driver because client does not exist"; + LOG(WARNING) << "Unable to communicate with driver because client does not exist. Continuing connection attempts."; printed1 = true; } } return; } if (!(mClient->isHandshaken())) { - if (mBacklog.size() > 1000) { + if (mBacklog.size() > 2000) { if (!printed2) { - LOG(WARNING) << "Unable to communicate with driver because client is not connected"; + LOG(WARNING) << "Unable to communicate with driver because client is not connected. Continuing connection attempts."; printed2 = true; } } return; } if (printed1 || printed2) { - LOGP(warning, "DriverClient connected successfully. Flushing message backlog of {} messages", mBacklog.size()); + LOGP(warning, "DriverClient connected successfully. Flushing message backlog of {} messages. All is good.", mBacklog.size()); printed1 = false; printed2 = false; }