diff --git a/src/main/java/com/twentythree/peech/common/interceptor/RequestLogInterceptor.java b/src/main/java/com/twentythree/peech/common/interceptor/RequestLogInterceptor.java index 99103c1..2a197b9 100644 --- a/src/main/java/com/twentythree/peech/common/interceptor/RequestLogInterceptor.java +++ b/src/main/java/com/twentythree/peech/common/interceptor/RequestLogInterceptor.java @@ -27,10 +27,11 @@ public boolean preHandle(HttpServletRequest request, HttpServletResponse respons userId = null; funnel = "not found funnel"; } + String httpMethod = request.getMethod(); String requestURI = request.getRequestURI(); String uuid = UUID.randomUUID().toString(); - logger.info("REQUEST LOG: [ Funnel: {}, User ID: {}, Request URI: {}, UUID: {} ]", funnel, userId, requestURI, uuid); + logger.info("REQUEST LOG: [ Funnel: {}, User ID: {}, Http Method: {}, Request URI: {}, UUID: {} ]", funnel, userId, httpMethod, requestURI, uuid); return true; }