Object LogbackAccessHackyLoggingOverrides
-
- All Implemented Interfaces:
public class LogbackAccessHackyLoggingOverridesThis is a hacky workaround for https://github.com/akkinoc/logback-access-spring-boot-starter/issues/98. A user who wants to modify this logic should copy this class and modify it, and make sure the modified class has a higher classloader priority. Please note that this is a temporary solution.
-
-
Field Summary
Fields Modifier and Type Field Description public final static LogbackAccessHackyLoggingOverridesINSTANCE
-
Method Summary
Modifier and Type Method Description final static StringoverriddenRequestBody(HttpServletRequest request)Returning null means no override. final static StringoverriddenResponseBody(HttpServletRequest request, HttpServletResponse response)Returning null means no override. -
-
Method Detail
-
overriddenRequestBody
final static String overriddenRequestBody(HttpServletRequest request)
Returning null means no override. Returning non-null value will result in that value being logged instead of request body.
-
overriddenResponseBody
final static String overriddenResponseBody(HttpServletRequest request, HttpServletResponse response)
Returning null means no override. Returning non-null value will result in that value being logged instead of response body.
-
-
-
-