diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 96f7f6af..3ebe94d5 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -15,6 +15,8 @@ spring: datasource: name: eiot url: jdbc:sqlite::resource:wvp.sqlite + # 打包为jar运行时把wvp.sqlite发到jar同级文件夹,同时url改为: + # url: jdbc:sqlite:wvp.sqlite username: password: type: com.alibaba.druid.pool.DruidDataSource @@ -59,6 +61,18 @@ media: # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 recordAssistPort: 0 + +# [可选] 日志配置, 一般不需要改 +logging: + file: + name: logs/wvp.log + max-history: 30 + max-size: 10MB + total-size-cap: 300MB + level: + com: + genersoft: + iot: info # [根据业务需求配置] userSettings: # [可选] 自动点播, 使用固定流地址进行播放时,如果未点播则自动进行点播, 需要rtp.enable=true @@ -73,15 +87,3 @@ springfox: documentation: swagger-ui: enabled: true - -# [可选] 日志配置, 一般不需要改 -logging: - file: - name: logs/wvp.log - max-history: 30 - max-size: 10MB - total-size-cap: 300MB - level: - com: - genersoft: - iot: info \ No newline at end of file