Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11089

If logging context parameter business key is set to null or empty string, business key appears in logs

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • 7.12.0-alpha6
    • engine
    • 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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce