yumeng 4 years ago
parent
commit
7a6b1257c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jeecg-boot-module-system/src/main/resources/application-prod.yml

+ 1 - 1
jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -101,7 +101,7 @@ spring:
         poolPreparedStatements: true
         maxPoolPreparedStatementPerConnectionSize: 20
         # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
-        filters: stat,slf4j
+        filters: stat,wall,slf4j
         # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource: