mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-12-28 18:36:03 +08:00
2.0 alpha
This commit is contained in:
20
admin-api/java-api/src/main/resources/dev/spy.properties
Normal file
20
admin-api/java-api/src/main/resources/dev/spy.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
#modulelist=com.baomidou.mybatisplus.extension.p6spy.MybatisPlusLogFactory
|
||||
# \u81EA\u5B9A\u4E49\u65E5\u5FD7\u6253\u5370
|
||||
logMessageFormat=com.baomidou.mybatisplus.extension.p6spy.P6SpyLogger
|
||||
#\u65E5\u5FD7\u8F93\u51FA\u5230\u63A7\u5236\u53F0
|
||||
appender=com.baomidou.mybatisplus.extension.p6spy.StdoutLogger
|
||||
# \u4F7F\u7528\u65E5\u5FD7\u7CFB\u7EDF\u8BB0\u5F55 sql
|
||||
#appender=com.p6spy.engine.spy.appender.Slf4JLogger
|
||||
# \u8BBE\u7F6E p6spy driver \u4EE3\u7406
|
||||
deregisterdrivers=true
|
||||
# \u53D6\u6D88JDBC URL\u524D\u7F00
|
||||
useprefix=true
|
||||
# \u914D\u7F6E\u8BB0\u5F55 Log \u4F8B\u5916,\u53EF\u53BB\u6389\u7684\u7ED3\u679C\u96C6\u6709error,info,batch,debug,statement,commit,rollback,result,resultset.
|
||||
#excludecategories=info,debug,result,commit,resultset
|
||||
# \u65E5\u671F\u683C\u5F0F
|
||||
dateformat=yyyy-MM-dd HH:mm:ss
|
||||
|
||||
# \u662F\u5426\u5F00\u542F\u6162SQL\u8BB0\u5F55
|
||||
outagedetection=true
|
||||
# \u6162SQL\u8BB0\u5F55\u6807\u51C6 2 \u79D2
|
||||
outagedetectioninterval=2
|
||||
Reference in New Issue
Block a user