blob: 5493de8fbbf1ed1fe4af5c9f827d6a9e0825dc74 [file] [log] [blame]
chenbo0e267832018-08-21 11:19:05 +08001server:
2 port: 10010
3
4## logging
5logging:
6 level:
7 root: INFO
8 org.springframework.web: TRACE
9 org.springframework.data.jpa: TRACE
10 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
15 name: sample-user
16 datasource:
17 driver-class-name: com.mysql.jdbc.Driver
18 url: jdbc:mysql://172.50.10.15:3306/lixiao?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
19 username: lixiao
20 password: lixiao@1234
21 jpa:
22 hibernate:
23 ddl-auto: none
24 naming:
25 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
26 show-sql: true
27
28infras:
29 mvc:
30# 自定义error输出的例子
31 custom-error:
32 enabled: true
33 error-map:
34 org.springframework.validation.BindException: Customized Bind Error Reason
35 include-message: true
36 include-errors: true
37 include-error: true
38 include-exception: true
39 include-path: true
40 include-timestamp: true
41 include-status: true
42 data:
43 jpa:
44 basePackages: com.supwisdom.leaveschool.user.repository