logback.xml 改造
时间: 2023-08-02 14:11:24 浏览: 102
根据引用\[1\]和引用\[2\]的内容,logback.xml可以改名为logback-spring.xml,但是这并不能解决问题。另外,根据引用\[3\]的内容,bootstrap.yml不支持logback.xml或logback-spring.xml的配置,应该将这些配置放在application.yml中。因此,如果要改造logback.xml,可以将其改名为logback-spring.xml,并将相关配置放在application.yml中。
#### 引用[.reference_title]
- *1* *3* [bootstrap.yml不支持logback.xml或者logback-spring.xml配置](https://blog.csdn.net/zhuimeng_by/article/details/120302588)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [logback.xml从Apollo配置中心读取值](https://blog.csdn.net/weixin_42024778/article/details/114681077)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文