123456789101112131415161718192021222324252627282930 |
- spring:
- datasource:
- url: jdbc:mysql://192.168.1.74:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
- username: root
- password: root_123
- druid:
- initial-size: 5 #连接池初始化大小
- min-idle: 10 #最小空闲连接数
- max-active: 20 #最大连接数
- web-stat-filter:
- exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据
- stat-view-servlet: #访问监控网页的登录用户名和密码
- login-username: druid
- login-password: druid
- data:
- elasticsearch:
- repositories:
- enabled: true
- elasticsearch:
- uris: es:9200
- logging:
- file:
- path: /var/logs
- level:
- root: info
- com.macro.mall: info
- logstash:
- host: logstash
|