Commit 08f9674c authored by 钱坤's avatar 钱坤

添加apollo刷新

parent 863b1261
......@@ -39,7 +39,7 @@ public class ApolloRefresherConfiguration implements ApplicationContextAware {
}
// 刷新参数(刷新"common"和"application"空间中,"logging.level."或"tanpu."开头的配置 )
@ApolloConfigChangeListener(value = {"application" }, interestedKeyPrefixes = { "logging.level.",
@ApolloConfigChangeListener(value = {"application.yml" }, interestedKeyPrefixes = { "logging.level.",
"tanpu." })
public void onChangeLogLevel(ConfigChangeEvent changeEvent) {
log.info("Refreshing logging levels and tanpu.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment