Details
-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.12.0-alpha6
-
None
Description
The documentation states:
All parameters can be set to null or the empty String in order to disable their logging in the MDC.
Steps to reproduce
- Add to the process engine configuration
<property name="loggingContextBusinessKey">null</property>
- OR
<property name="loggingContextBusinessKey"></property>
Observed behavior
- In case of null:
{activityId=ScriptTask_061082u, null=foo, processDefinitionId=Process_02usgr9:1:273d34a6-07bc-11ea-bd4d-34363bcb84fe, processInstanceId=194a7789-07bf-11ea-bbf7-34363bcb84fe}
- In case of empty string:
{activityId=ScriptTask_061082u, processDefinitionId=Process_02usgr9:1:273d34a6-07bc-11ea-bd4d-34363bcb84fe, processInstanceId=84c22d51-07be-11ea-af89-34363bcb84fe, undefined=foo}
Expected behavior
Business key does not appear in both cases
Criticality
Low since the business key is disabled by default.