How to insert process definition key on the Camunda logs?

Using logback + MDC on my external worker apps, I insert process name to my logs something like this:
MDC.put(“process.key”, externalTask.getProcessDefinitionKey());

How can I do the same on the camunda logs, such that it’s visible which process the log came from?


Hi @SuwekongHilaw
maybe it can help you