From f7a173b5203296dcfd384d175c06a34ecf7d5d4c Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 05 六月 2024 17:17:45 +0800
Subject: [PATCH] 打印sql,配置session时长
---
src/main/resources/application.yml | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index bb632b2..6a75cdc 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,4 +1,7 @@
server:
+ servlet:
+ session:
+ timeout: 7200
port: 8000
undertow:
io-threads: 16
@@ -13,6 +16,9 @@
logging:
config: classpath:logback-spring.xml
file: xzs
+ level:
+ com.lucifer.springboot.cache.mapper: debug
+
#mybatis plus
mybatis-plus:
@@ -23,7 +29,7 @@
logic-not-delete-value: 0 # 娌℃湁鍒犻櫎鐨勫��
configuration:
default-enum-type-handler: org.apache.ibatis.type.EnumOrdinalTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣�
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 鏃ュ織鎵撳嵃
type-enums-package: com.ycl.jxkg.domain.enums.general # 閫氱敤鏋氫妇鎵�鍦ㄥ寘璺緞
mapper-locations: classpath*:mapper/*.xml # mapper.xml浣嶇疆
--
Gitblit v1.8.0