From f08d83837efd8ce0099f189a5646b2e238b91674 Mon Sep 17 00:00:00 2001 From: "A.Zamanzade" Date: Sat, 16 Mar 2024 12:53:17 +0330 Subject: [PATCH] [revision]47dc5748 --- .../tosan/http/server/starter/filter/HttpLoggingFilter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tosan-httpserver-spring-boot-starter/src/main/java/com/tosan/http/server/starter/filter/HttpLoggingFilter.java b/tosan-httpserver-spring-boot-starter/src/main/java/com/tosan/http/server/starter/filter/HttpLoggingFilter.java index 027d0bd..1b2b857 100644 --- a/tosan-httpserver-spring-boot-starter/src/main/java/com/tosan/http/server/starter/filter/HttpLoggingFilter.java +++ b/tosan-httpserver-spring-boot-starter/src/main/java/com/tosan/http/server/starter/filter/HttpLoggingFilter.java @@ -9,6 +9,7 @@ import jakarta.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import org.springframework.web.util.ContentCachingResponseWrapper; @@ -22,7 +23,7 @@ * @author M.khoshnevisan * @since 4/21/2021 */ -@Order(30) +@Order(Ordered.HIGHEST_PRECEDENCE + 1) public class HttpLoggingFilter extends OncePerRequestFilterBase { private static final Logger LOGGER = LoggerFactory.getLogger(HttpLoggingFilter.class);