Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-6010

Echo and logger components: performance and behavior issues

    Details

    • User impact:
      Medium
    • Configuration:
      Hide

      Any config using echo component will do.

      Show
      Any config using echo component will do.
    • Migration Impact:
      Echo will no longer log, but this is not vital for production systems.
    • Similar Issues:

      Description

      This improves on two issues:

      • Echo component is NOT a logger component, but Logger component IS an Echo component: Hierarchy is reverted.
      • Logger component should only assemble the message to be logged if the proper log level is enabled. Otherwise it assembles a message that will not be used.

      Since lots of users mock external services using echo, especially for performance measurements, it's very important that echo is as lightweight as possible.

      Also, production systems using logger would suffer if for each message that they don't want to be logged, all the message is assembled and then discarded.

        Attachments

          Activity

            People

            • Assignee:
              victor.bonillo Victor Bonillo
              Reporter:
              victor.bonillo Victor Bonillo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/May/14