刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 1 | server: |
| 2 | port: 10010 |
| 3 | |
| 4 | ## logging |
| 5 | logging: |
| 6 | level: |
| 7 | root: INFO |
刘洪青 | 8d6ae1e | 2018-08-02 18:25:56 +0800 | [diff] [blame] | 8 | org.springframework.web: TRACE |
刘洪青 | ece2179 | 2018-08-06 14:25:16 +0800 | [diff] [blame] | 9 | org.springframework.data.jpa: TRACE |
刘洪青 | f6b6611 | 2018-08-02 15:42:43 +0800 | [diff] [blame] | 10 | com.supwisdom.infras.security: DEBUG |
| 11 | com.supwisdom.leaveschool: DEBUG |
| 12 | |
| 13 | spring: |
| 14 | application: |
| 15 | name: sample-user |
刘洪青 | d49e494 | 2018-08-03 16:08:44 +0800 | [diff] [blame] | 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 | |
| 28 | infras: |
| 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 |
刘洪青 | d2f2070 | 2018-08-06 16:33:37 +0800 | [diff] [blame] | 42 | data: |
| 43 | jpa: |
| 44 | basePackages: com.supwisdom.leaveschool.user.repository |