consul-kv

Not able to load logback.xml from Consul

守給你的承諾、 提交于 2019-12-11 19:50:05
问题 The issue goes like this I have all my configuration for the project in Consul KV store The configuration includes application.yml, logback.xml and few other configurations needed by my project. Using bootstrap.yml for Spring Cloud Consul configuration which contains logging.config for with the URI of the configuration URI is as follow for logging.config - http://CONSUL_SERVER_IP:CONSUL_SERVER_PORT/v1/kv/CONSUL_CONFIG_PREFIX/logback.xml?raw Also tried passing below as argument/VM argument