Commit a01295603af6ef75776bdee328c9df18b1a9a9f2
1 parent
f4f3e60a
简化配置
Showing
4 changed files
with
3 additions
and
10 deletions
src/main/resources/all-application.yml
| @@ -150,9 +150,9 @@ media: | @@ -150,9 +150,9 @@ media: | ||
| 150 | # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 | 150 | # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 |
| 151 | record-assist-port: 0 | 151 | record-assist-port: 0 |
| 152 | 152 | ||
| 153 | -# [可选] 日志配置, 一般不需要改 | 153 | +# [可选] 日志配置, 如果不需要在jar外修改日志内容那么可以不配置此项 |
| 154 | logging: | 154 | logging: |
| 155 | - config: classpath:logback-spring-local.xml | 155 | + config: classpath:logback-spring.xml |
| 156 | 156 | ||
| 157 | # [根据业务需求配置] | 157 | # [根据业务需求配置] |
| 158 | user-settings: | 158 | user-settings: |
src/main/resources/application-dev.yml
| @@ -110,7 +110,4 @@ user-settings: | @@ -110,7 +110,4 @@ user-settings: | ||
| 110 | allowed-origins: | 110 | allowed-origins: |
| 111 | - http://localhost:8080 | 111 | - http://localhost:8080 |
| 112 | - http://127.0.0.1:8080 | 112 | - http://127.0.0.1:8080 |
| 113 | -# [可选] 日志配置, 一般不需要改 | ||
| 114 | -logging: | ||
| 115 | - config: classpath:logback-spring-local.xml | ||
| 116 | 113 |
src/main/resources/application-docker.yml
| @@ -71,10 +71,6 @@ media: | @@ -71,10 +71,6 @@ media: | ||
| 71 | record-assist-port: 18081 | 71 | record-assist-port: 18081 |
| 72 | sdp-ip: ${sip.ip} | 72 | sdp-ip: ${sip.ip} |
| 73 | stream-ip: ${sip.ip} | 73 | stream-ip: ${sip.ip} |
| 74 | -# [可选] 日志配置, 一般不需要改 | ||
| 75 | -# [可选] 日志配置, 一般不需要改 | ||
| 76 | -logging: | ||
| 77 | - config: classpath:logback-spring-local.xml | ||
| 78 | 74 | ||
| 79 | # [根据业务需求配置] | 75 | # [根据业务需求配置] |
| 80 | user-settings: | 76 | user-settings: |
src/main/resources/logback-spring-local.xml renamed to src/main/resources/logback-spring.xml