29 lines
1.2 KiB
Properties
29 lines
1.2 KiB
Properties
# 设置日志级别为 debug
|
|
logging.level.root=INFO
|
|
logging.level.com.tienon.eax=DEBUG
|
|
|
|
# 控制台日志格式(彩色)
|
|
logging.pattern.console=%clr(%d{HH:mm:ss.SSS}){faint} %clr([%15.15thread]){faint} %clr(%-5level) %clr(---){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx
|
|
|
|
|
|
# # 文件日志配置(可选)
|
|
# logging.file.name=logs/application.log
|
|
# logging.pattern.file=%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
|
|
|
|
|
|
|
|
# SHOW VARIABLES LIKE '%time_zone%'; system_time_zone = UTC
|
|
spring.datasource.url=jdbc:mysql://124.220.20.177:3306/testdb?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.datasource.username=root
|
|
spring.datasource.password=your_strong_password
|
|
# spring.datasource.url=jdbc:p6spy:mysql://124.220.20.177:3306/testdb?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC
|
|
# spring.datasource.driver-class-name=com.p6spy.engine.spy.P6SpyDriver
|
|
|
|
|
|
# MyBatis Plus
|
|
mybatis-plus.mapper-locations=classpath:mybatis/*.xml
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
mybatis-plus.mapperPackage=com.tienon.eax.boot.mapper
|
|
# mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|