Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9551

ErrorHandler - Should not log message body by default

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Related to ticket: CAMEL-9539

      The error handler will log exhausted exchanges with stacktrace and exchange message body/header details. We should turn the latter off, so they are not logged by default.

      This helps to avoid logging message details that may be sensitive. And do that by default.

      People can turn on the old behavior with the new logExhaustedMessageBody option. Which logs all the message exchange/body details as before (also headers).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: