Initial commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
module.log=com.p6spy.engine.logging.P6LogFactory,com.p6spy.engine.outage.P6OutageFactory
|
||||
# 使用日志系统记录sql
|
||||
appender=com.p6spy.engine.spy.appender.Slf4JLogger
|
||||
# 是否开启日志过滤 默认false, 这项配置是否生效前提是配置了 include/exclude/sqlexpression
|
||||
filter=true
|
||||
## 过滤 Log 时所排除的表名列表,以逗号分隔。
|
||||
exclude=QRTZ_SCHEDULER_STATE,QRTZ_TRIGGERS,QRTZ_LOCKS,QRTZ_FIRED_TRIGGERS,dual
|
||||
## 配置记录Log例外
|
||||
excludecategories=info,debug,result,commit,resultset
|
||||
# 设置使用p6spy driver来做代理
|
||||
deregisterdrivers=true
|
||||
# 日期格式
|
||||
dateformat=yyyy-MM-dd HH:mm:ss
|
||||
# 实际驱动
|
||||
driverlist=com.mysql.cj.jdbc.Driver
|
||||
# 是否开启慢SQL记录
|
||||
outagedetection=true
|
||||
# 慢SQL记录标准 秒
|
||||
outagedetectioninterval=2
|
||||
# mybatisplus自定义日志打印
|
||||
logMessageFormat=com.baomidou.mybatisplus.extension.p6spy.P6SpyLogger
|
||||
Reference in New Issue
Block a user