Commit 863b1261 authored by 钱坤's avatar 钱坤

添加apollo刷新

parent f97607da
......@@ -39,7 +39,7 @@ public class ApolloRefresherConfiguration implements ApplicationContextAware {
}
// 刷新参数(刷新"common"和"application"空间中,"logging.level."或"tanpu."开头的配置 )
@ApolloConfigChangeListener(value = {CommonConstant.APOLLO_COMMON_APP_ID, "application" }, interestedKeyPrefixes = { "logging.level.",
@ApolloConfigChangeListener(value = {"application" }, 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