Browse Source

update 优化 demo服务 过滤健康检查sql打印

疯狂的狮子li 3 years ago
parent
commit
8bd9e723fd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ruoyi-example/ruoyi-demo/src/main/resources/spy.properties

+ 2 - 0
ruoyi-example/ruoyi-demo/src/main/resources/spy.properties

@@ -24,3 +24,5 @@ outagedetection=true
 outagedetectioninterval=2
 # 是否过滤 Log
 filter=true
+# 过滤 Log 时所排除的 sql 关键字,以逗号分隔
+exclude=SELECT 1