Browse Source

update 优化 p6spy 排除健康检查 sql 执行记录

疯狂的狮子Li 2 năm trước cách đây
mục cha
commit
f5de8b9ddf
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      ruoyi-admin/src/main/resources/spy.properties

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

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