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

Ability to configure command exception logging

      Currently, Camunda is very verbose logging thrown Exceptions on ERROR level, regardless of how the exception is handled by the application.

      In CommandContext#close for instance, all Exceptions (except three dedicated types, defined in shouldLogFine and shouldLogInfo) are logged on ERROR level.

      Proposed addition: User can control logging of command exceptions in the following way:

      • enable / disabling exception logging for commands executed from application threads
      • enable / disable execption logging for jobs that fail but still have retries left

      Defaults should remain unchainged

      Note:
      could be engine configurations but could probably also be defining specific logger categories so that user can configure using regular logging mechanisms

        This is the controller panel for Smart Panels app

            [CAM-10067] Ability to configure command exception logging

            Stefan Zilske added a comment - - edited

            Hi Camundos,

            I have a question regarding the exception logging. After this was implemented, logging was like expected for a while (failed jobs logged ERROR only when no retries were left).

            But now, being on v. 7.12.5-ee I am under the impression that the behaviour has changed and no ERRORs are logged from failed jobs anymore. Even when no retries are left and the job is running into an incident, messages are logged on WARN level only.

            Can you please double check if everything is still working as it should?

            Best regards,
            Stefan

            Stefan Zilske added a comment - - edited Hi Camundos, I have a question regarding the exception logging. After this was implemented, logging was like expected for a while (failed jobs logged ERROR only when no retries were left). But now, being on v. 7.12.5-ee I am under the impression that the behaviour has changed and no ERRORs are logged from failed jobs anymore. Even when no retries are left and the job is running into an incident, messages are logged on WARN level only. Can you please double check if everything is still working as it should? Best regards, Stefan

              Unassigned Unassigned
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: