Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3759

Add Property to Disable Log Level Checking in Channels, Handlers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 4.2 M2
    • Component/s: None
    • Labels:

      Description

      In extreme data flows, calls to logger.isDebugEnabled() show as some of the highest CPU cost of passing through a channel or message handler.

      Since we have "management" features for stats etc which are outside of JMX, we could add a boolean to these objects which is used to avoid these is...Enabled() calls.

      This setting would effectively disable all framework logging in these components but it could still be enabled at runtime.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            grussell Gary Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: