chore: 调低当前工作空间和项目的输出日志级别

This commit is contained in:
CaptainB 2022-06-16 15:36:55 +08:00 committed by 刘瑞斌
parent dc46cb7448
commit 61df978164
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public class SessionUtils {
} }
try { try {
HttpServletRequest request = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest(); HttpServletRequest request = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest();
LogUtil.info("WORKSPACE: {}", request.getHeader("WORKSPACE")); LogUtil.debug("WORKSPACE: {}", request.getHeader("WORKSPACE"));
if (request.getHeader("WORKSPACE") != null) { if (request.getHeader("WORKSPACE") != null) {
return request.getHeader("WORKSPACE"); return request.getHeader("WORKSPACE");
} }
@ -129,7 +129,7 @@ public class SessionUtils {
} }
try { try {
HttpServletRequest request = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest(); HttpServletRequest request = ((ServletRequestAttributes) (RequestContextHolder.currentRequestAttributes())).getRequest();
LogUtil.info("PROJECT: {}", request.getHeader("PROJECT")); LogUtil.debug("PROJECT: {}", request.getHeader("PROJECT"));
if (request.getHeader("PROJECT") != null) { if (request.getHeader("PROJECT") != null) {
return request.getHeader("PROJECT"); return request.getHeader("PROJECT");
} }