Update VSCode configuration, enhance Java project settings, and modify application properties for improved logging and encoding support

This commit is contained in:
geht
2026-05-19 11:22:53 +08:00
parent 500de8961d
commit be169ed131
7 changed files with 94 additions and 13 deletions

View File

@@ -23,6 +23,11 @@ spring:
# main:
# # 启动加速 (建议开发环境开启后flyway自动升级失效)
# lazy-initialization: true
# banner.txt 为 UTF-8Windows 下改走日志输出(与 logging.charset.console=GBK 一致),避免 System.out 乱码
main:
banner-mode: log
banner:
charset: UTF-8
flyway:
# 是否启用flyway
enabled: false
@@ -315,6 +320,10 @@ cas:
prefixUrl: http://cas.example.org:8443/cas
#Mybatis输出sql日志
logging:
charset:
# Windows 终端/Cursor 默认 GBK终端已 chcp 65001 时可改为 UTF-8
console: GBK
file: UTF-8
level:
org.springframework.context.support.PostProcessorRegistrationDelegate: error
org.flywaydb: debug