Camel
  1. Camel
  2. CAMEL-721

Log component should use ExchangeFormatter for formatting log output

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      Currently log component only logs the payload. We have a nice ExchangeFormatter that can format an exchange with all kind of options.

      The options could be enabled on the log component so you can customize your logging. Also there should be a multiline option to the exchange formatter so it can log all the stuff on multi lines if for instance there are many options, they get very long.

        Activity

        Show
        Claus Ibsen added a comment - See nabble: http://www.nabble.com/Is-it-possible-to-log-headers-properties-(key%2Cvalue-pairs)-through-interceptors---td18382140s22882.html
        Hide
        Claus Ibsen added a comment -

        Updated wiki as well.

        Show
        Claus Ibsen added a comment - Updated wiki as well.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development