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

improve tunability of REST exception logging

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • 7.2.0
    • engine
    • None

    Description

      When a REST resource throws a RestException, the RestExceptionHandler logs it at WARNING level. It should be considered that these logs are for the Camunda server operator, and a warning is sometimes appropriate and sometimes not. For example, I would like an exception with status code 500 to log at ERROR level so that I can configure my log to print a stack trace. An exception with a 404 status code is not a problem for me as the Camunda operator (it's the client's problem); it could log at INFO level, and I can configure logging just to print the message.

      AT:

      • 404 is logged at INFO (or maybe even FINE)
      • 500 should be logged at ERROR level

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                kgeis Ken Geis
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce