日志字符集编码

This commit is contained in:
xiang2lin 2024-05-30 18:19:38 +08:00
parent 3f3eedbfdd
commit 3f6ea50b70
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ logging:
#日志级别 指定目录级别
level:
root: info
encodings: UTF-8
encodings: gbk
file:
# 日志保存路径
path: D:\yongansystem\logs
@ -14,7 +14,7 @@ spring:
master:
url: jdbc:mysql://127.0.0.1:3306/businesscenternew?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true
username: root
password: bd993088e8a7c3dc5f44441617f9b4bf
password: 62e4295b615a30dbf3b8ee96f41c820b
driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
savefile:
# 文件保存路径