From 3552bce15beb33b94dcce97d6ca129c1e68912cb Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:57:42 +0100 Subject: [PATCH] Make sure only the signposts matching the provided string are enabled (#13790) --- 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;