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

improve tunability of REST exception logging

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: