blob: 5493de8fbbf1ed1fe4af5c9f827d6a9e0825dc74 [file] [log] [blame]
刘洪青f6b66112018-08-02 15:42:43 +08001server:
2 port: 10010
3
4## logging
5logging:
6 level:
7 root: INFO
刘洪青8d6ae1e2018-08-02 18:25:56 +08008 org.springframework.web: TRACE
刘洪青ece21792018-08-06 14:25:16 +08009 org.springframework.data.jpa: TRACE
刘洪青f6b66112018-08-02 15:42:43 +080010 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
15 name: sample-user
刘洪青d49e4942018-08-03 16:08:44 +080016 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
刘洪青d2f20702018-08-06 16:33:37 +080042 data:
43 jpa:
44 basePackages: com.supwisdom.leaveschool.user.repository