TAP5-2333: Optimize OperationTracker logging for normal (success, no logging) case

This avoids the use of a per-thread variable.