I encourage my teams to write logs / output with interpolation with the variables at the end for searchability
For example:
Added %d users
Vs: Added users (%d)
Then it is much easier to track down where things come from without needing wildcards in the search or to care too much about what might be dynamic in cases where its not obvious.