mdf:修改日志范围
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user