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

ErrorHandler - Should not log message body by default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-core
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: