【发布时间】:2020-09-20 03:55:45
【问题描述】:
我使用的是 spring-boot-starter 2.3.3.RELEASE 版本。我在本机配置文件中运行我的 spring 云配置服务器(在文件系统中查找配置文件)。我添加了 logging.file = /var/log/config.log 在 application.properties 文件中。但是我的应用程序没有将日志记录到这个文件中。(所有其他微服务都记录到这个位置)。我是否缺少 Spring 云配置服务器的任何其他设置?非常感谢您的帮助。
【问题讨论】:
标签: spring spring-boot spring-cloud-config