diff options
author | Prudence Au <prudence.au@amdocs.com> | 2019-09-12 17:36:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-12 17:36:15 +0000 |
commit | 335f5ec15c700f0c8fd21e0bed27885de51bb59d (patch) | |
tree | 2f733c9d416da65f809940765d2f5a5440533454 /reference/logging-filter/logging-filter-spring/src/main/java | |
parent | e219ab7cc03e144c7217f639aec52921ab49d0d5 (diff) | |
parent | 66930a9199640842054baa070ed4c7d3b5b6adc0 (diff) |
Merge "Update StatusLoggingInterceptor"
Diffstat (limited to 'reference/logging-filter/logging-filter-spring/src/main/java')
-rw-r--r-- | reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java b/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java index 887e621..3401efa 100644 --- a/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java +++ b/reference/logging-filter/logging-filter-spring/src/main/java/org/onap/logging/filter/spring/StatusLoggingInterceptor.java @@ -26,16 +26,15 @@ import javax.servlet.http.HttpServletResponse; import javax.ws.rs.core.Context; import javax.ws.rs.core.Response; import javax.ws.rs.ext.Providers; -import org.onap.logging.filter.base.PayloadLoggingServletFilter; +import org.onap.logging.filter.base.AbstractServletFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; -// TODO do we want this class to log message payloads? In the previous implementation it did not @Component -public class StatusLoggingInterceptor extends PayloadLoggingServletFilter implements HandlerInterceptor { +public class StatusLoggingInterceptor extends AbstractServletFilter implements HandlerInterceptor { private static final Logger logger = LoggerFactory.getLogger(StatusLoggingInterceptor.class); |