From dd0cc3fe24e54e0be617103cc0283bfc5f2d9a77 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:52:19 +0100 Subject: [PATCH] Make sure only the signposts matching the provided string are enabled --- Framework/Core/src/runDataProcessing.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Core/src/runDataProcessing.cxx b/Framework/Core/src/runDataProcessing.cxx index 0861ae1a65a0c..4bfbc3232822a 100644 --- a/Framework/Core/src/runDataProcessing.cxx +++ b/Framework/Core/src/runDataProcessing.cxx @@ -2786,7 +2786,7 @@ void enableSignposts(std::string const& signpostsToEnable) } auto fullName = prefix + std::string{selectedName, last ? last - selectedName : strlen(selectedName)}; - if (strncmp(name, fullName.data(), fullName.size()) == 0) { + if (fullName == name) { LOGP(info, "Enabling signposts for stream \"{}\" with depth {}.", fullName, maxDepth); _o2_log_set_stacktrace(log, maxDepth); return false;