-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
28 lines (28 loc) · 1.23 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# ==========Springåºç¡é
ç½®==========
# å端HTTPçå¬ç«¯å£
server.port=60001
# æ°æ®åºç¨æ·å
spring.datasource.username=cat
# æ°æ®åºå¯ç
spring.datasource.password=catcat
# æ°æ®åºURL
# 示ä¾(MYSQL): jdbc:mysql://[æ°æ®åºå°å]:[æ°æ®åºç«¯å£]/[æ°æ®åºå]?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/cat?&serverTimezone=Asia/Shanghai
# ==========å¦ä¸å¦æºé
ç½®==========
# 主æ¥å¿ç级
logging.level.root=info
# WEBæ¥å¿ç级
logging.level.web=warn
# SQLæ¥å¿ç级
logging.level.sql=fatal
# èªèº«æ¥å¿ç级
logging.level.tech.xysu.xyhc.xybackend.*=info
# æ¥å¿æ件å
logging.file.name=logs/live_system_logs.log
# ==========å
¶ä»é
ç½®-请å¿ä¿®æ¹==========
spring.jpa.open-in-view=true
spring.jpa.hibernate.ddl-auto=update
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=100MB
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false