Skip to content

Commit

Permalink
Make sure only the signposts matching the provided string are enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Dec 11, 2024
1 parent a11d739 commit dd0cc3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Core/src/runDataProcessing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dd0cc3f

Please sign in to comment.