Explorar o código

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

疯狂的狮子li %!s(int64=3) %!d(string=hai) anos
pai
achega
8bd9e723fd
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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