ソースを参照

!233 【轻量级 PR】修正控制台日志打印格式化问题
Merge pull request !233 from MichelleChung/dev

疯狂的狮子Li 2 年 前
コミット
111db70908
1 ファイル変更2 行追加0 行削除
  1. 2 0
      ruoyi-admin/src/main/resources/spy.properties

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

@@ -14,6 +14,8 @@ useprefix=true
 excludecategories=info,debug,result,commit,resultset
 excludecategories=info,debug,result,commit,resultset
 # 日期格式
 # 日期格式
 dateformat=yyyy-MM-dd HH:mm:ss
 dateformat=yyyy-MM-dd HH:mm:ss
+# SQL语句打印时间格式
+databaseDialectTimestampFormat=yyyy-MM-dd HH:mm:ss
 # 实际驱动可多个
 # 实际驱动可多个
 #driverlist=org.h2.Driver
 #driverlist=org.h2.Driver
 # 是否开启慢SQL记录
 # 是否开启慢SQL记录