|
@@ -29,9 +29,13 @@ spring:
|
|
|
poolPreparedStatements: true
|
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
|
|
- filters.commons-log.connection-logger-name: stat,wall,log4j
|
|
|
- filter.stat.log-slow-sql: true
|
|
|
- filter.stat.slow-sql-millis: 2000
|
|
|
+ filters.commons-log.connection-logger-name: wall,log4j
|
|
|
+ filter:
|
|
|
+ stat:
|
|
|
+ enabled: true
|
|
|
+ mergeSql: true
|
|
|
+ log-slow-sql: true
|
|
|
+ slow-sql-millis: 2000
|
|
|
#监控配置
|
|
|
web-stat-filter:
|
|
|
enabled: true
|