<#157 Add a new requestID to Log fields> Pull requ...
# flyte-github
a
#157 Add a new requestID to Log fields Pull request opened by EngHabu TL;DR Add a request ID contextutils fiels.
Copy code
ctx = contextutils.WithRequestID(ctx, "request-123")
logger.Infof(ctx, "this happened")
"this happened"
will be tagged with the request id Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☑︎ Unit tests added ☑︎ Code documentation added ☑︎ Any pending items have an associated Issue Tracking Issue fixes flyteorg/flyte#3577 flyteorg/flytestdlib Codecov: 67.96% (-0.21%) compared to 0dbe3c2 6 other checks have passed 6/7 successful checks