diff --git a/cadastrapp/src/main/java/org/georchestra/cadastrapp/providers/CadastrappInterceptor.java b/cadastrapp/src/main/java/org/georchestra/cadastrapp/providers/CadastrappInterceptor.java index 950aecea..0f7e2abd 100644 --- a/cadastrapp/src/main/java/org/georchestra/cadastrapp/providers/CadastrappInterceptor.java +++ b/cadastrapp/src/main/java/org/georchestra/cadastrapp/providers/CadastrappInterceptor.java @@ -69,14 +69,14 @@ public void postHandle( HttpServletRequest request, HttpServletResponse response if(logger.isDebugEnabled()){ long executeTime = System.currentTimeMillis() - (Long)request.getAttribute("startTime"); logger.debug("Request handle in " + executeTime + "ms"); - } - + } + + logger.info("Send response"); + MDC.remove(CadastrappConstants.HTTP_HEADER_USERNAME); MDC.remove(CadastrappConstants.HTTP_HEADER_ROLES); MDC.remove(CadastrappConstants.HTTP_HEADER_ORGANISME); MDC.remove("uri"); - - logger.info("Send response"); } }