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

        Claus Ibsen created issue -
        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.
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.0 [ 11922 ]
        Fix Version/s 1.4.0 [ 11849 ]
        Resolution Fixed [ 1 ]
        Claus Ibsen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development