server.port=8000
server.servlet.context-path=/rongda
spring.datasource.password=root
spring.datasource.username=root
spring.datasource.url=jdbc:mysql://localhost:3306/db_bus?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
spring.jpa.generate-ddl=true
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.open-in-view=true
logging.file.path=/rongda_log
logging.level.root=warn
logging.level.sql=info
logging.pattern.file=%d{yyyy/MM/dd HH:mm:ss.SSS} %clr(%-2level) [%magenta(%thread)] %cyan(%-50logger{50}) : %msg%n
logging.pattern.console=%d{yyyy/MM/dd HH:mm:ss.SSS} %clr(%-2level) [%magenta(%thread)] %cyan(%-50logger{50}) : %msg%n
#时间戳统一转换
spring.jackson.date-format=yyyy-MM-dd
spring.jackson.time-zone=GMT+8
springboot工程的application.properties内容
最新推荐文章于 2024-09-14 09:14:48 发布