啊鑫
2025-05-30 a5e75aabaef8ff2dffea466f750c17a486d50cfb
src/main/resources/application.yml
@@ -38,4 +38,14 @@
    map-underscore-to-camel-case: true
    jdbc-type-for-null: 'null'
  type-aliases-package: com.gs.xky.entity.*
  mapper-locations: classpath:mapper/*.xml
  mapper-locations: classpath:mapper/*.xml
logging:
  level:
    root: info
    com.gs.xky.service.XkyService: debug  # 指定 XkyService 记录 debug 级别的日志
  file:
    name: logs/xky_service.log  # 指定日志文件路径
  pattern:
    file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"
    console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"