From ff45762038644dab2893895ecdb5be0db85dec3e Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Wed, 3 May 2023 09:27:59 +0200 Subject: [PATCH] Make warning an info, update message --- source/RobotAPI/components/ArViz/ArVizStorage.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/RobotAPI/components/ArViz/ArVizStorage.cpp b/source/RobotAPI/components/ArViz/ArVizStorage.cpp index 01ebcf74c..c2f698f21 100644 --- a/source/RobotAPI/components/ArViz/ArVizStorage.cpp +++ b/source/RobotAPI/components/ArViz/ArVizStorage.cpp @@ -144,9 +144,12 @@ namespace armarx historyEntry.timestampInMicroseconds = nowInMicroSeconds; historyEntry.update = update; - if(update.component.empty()) + if (update.component.empty()) { - ARMARX_WARNING << deactivateSpam(10) << "Empty `component` in ArViz update! Discarding update. Check your code ..."; + ARMARX_INFO << deactivateSpam(120) + << "Discarding ArViz update with empty component name. Check whether " + << "you correctly create your ArViz client (`armarx::viz::Client`) " + << "in your code."; continue; } -- GitLab