Would like to add some things to the ThreadContext for Workflow.getLogger(…) - some things come in via workflow requests, others are populated by an activity at the start of a workflow - what’s the best way to add to the ThreadContext so that the workflow logger gets it? When’s the reccomended place to clean it up?
Consider using WorkflowLocal, which is not linked to a specific thread but to the entire workflow instance including all other threads.
Are that advantages to that over a ContextPropagator to carry forward parts of the SLF4J MDC? All we need is it to be in the MDC when we use the Workflow logger.