blob: fff91a42574eb49216ee420005e689a2c89298a5 [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
刘洪青f6b66112018-08-02 15:42:43 +08009 com.supwisdom.infras.security: DEBUG
10 com.supwisdom.leaveschool: DEBUG
11
12spring:
13 application:
14 name: sample-user
刘洪青d49e4942018-08-03 16:08:44 +080015 datasource:
16 driver-class-name: com.mysql.jdbc.Driver
17 url: jdbc:mysql://172.50.10.15:3306/lixiao?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull
18 username: lixiao
19 password: lixiao@1234
20 jpa:
21 hibernate:
22 ddl-auto: none
23 naming:
24 physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
25 show-sql: true
26
27infras:
28 mvc:
29# 自定义error输出的例子
30 custom-error:
31 enabled: true
32 error-map:
33 org.springframework.validation.BindException: Customized Bind Error Reason
34 include-message: true
35 include-errors: true
36 include-error: true
37 include-exception: true
38 include-path: true
39 include-timestamp: true
40 include-status: true