Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-738

Allow AbstractLoggingInterceptor to use the logging level of the Endpoint being called

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Core
    • Labels:

      Description

      I wanted a finer and easier ( more intuitive ) method of enabling payload logging for just one endpoint. The existing AbstractLoggingInterceptor / PayloadLoggingInterceptor seemed to be mainly OFF or ON and configuration wasn't available when we enable logging for problematic Endpoints in our mBeans. Instead of using setLoggerName and defaulting to the class' logger I grab the logger for the endpoint and check that instead. I cleaned up a couple of things with this change for thread safety. Now I can either update the logging through the log4j properties file which is typical or through our mBeans.

        Attachments

          Activity

            People

            Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            gbonk Gregory bonk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: