spy.properties 935 B

1234567891011121314151617181920
  1. #modulelist=com.baomidou.mybatisplus.extension.p6spy.MybatisPlusLogFactory
  2. # \u81EA\u5B9A\u4E49\u65E5\u5FD7\u6253\u5370
  3. logMessageFormat=com.baomidou.mybatisplus.extension.p6spy.P6SpyLogger
  4. #\u65E5\u5FD7\u8F93\u51FA\u5230\u63A7\u5236\u53F0
  5. appender=com.baomidou.mybatisplus.extension.p6spy.StdoutLogger
  6. # \u4F7F\u7528\u65E5\u5FD7\u7CFB\u7EDF\u8BB0\u5F55 sql
  7. #appender=com.p6spy.engine.spy.appender.Slf4JLogger
  8. # \u8BBE\u7F6E p6spy driver \u4EE3\u7406
  9. deregisterdrivers=true
  10. # \u53D6\u6D88JDBC URL\u524D\u7F00
  11. useprefix=true
  12. # \u914D\u7F6E\u8BB0\u5F55 Log \u4F8B\u5916,\u53EF\u53BB\u6389\u7684\u7ED3\u679C\u96C6\u6709error,info,batch,debug,statement,commit,rollback,result,resultset.
  13. #excludecategories=info,debug,result,commit,resultset
  14. # \u65E5\u671F\u683C\u5F0F
  15. dateformat=yyyy-MM-dd HH:mm:ss
  16. # \u662F\u5426\u5F00\u542F\u6162SQL\u8BB0\u5F55
  17. outagedetection=true
  18. # \u6162SQL\u8BB0\u5F55\u6807\u51C6 2 \u79D2
  19. outagedetectioninterval=2