mdf:修改日志范围

This commit is contained in:
zhangzhiqiang
2023-03-03 16:52:43 +08:00
parent e5fb957b33
commit a2f3e4f170
2 changed files with 4 additions and 11 deletions

View File

@@ -52,7 +52,8 @@ import java.util.Map;
public class LogAspect {
//org.nl.ext.lk.rest
@Pointcut("execution(* org.nl.wms.*.rest..*.*(..)) || execution(* org.nl.ext.*.rest..*.*(..))")
@Pointcut("execution(* org.nl.*.*..rest..*.*(..)) " +
"&& !execution(* org.nl.modules.system.rest.EsLogController.*(..)) ")
public void logPointCut() {
}

View File

@@ -69,16 +69,8 @@ spring:
reset-enable: false
login-username: admin
login-password: 123456
filter:
stat:
enabled: true
# 记录慢SQL
log-slow-sql: true
slow-sql-millis: 1000
merge-sql: true
wall:
config:
multi-statement-allow: true
filters:
DruidFilter,stat
redis:
#数据库索引
database: ${REDIS_DB:15}