Commit 23125558 by Jason Song

adjust log message

parent 59553cc6
......@@ -86,7 +86,7 @@ public class DefaultConfig extends AbstractConfig implements RepositoryChangeLis
}
if (value == null && m_configProperties.get() == null) {
logger.error("Config initialization failed, always return default value!");
logger.warn("Could not load config from Apollo, always return default value!");
}
return value == null ? defaultValue : value;
......
......@@ -55,7 +55,7 @@ public class SimpleConfig extends AbstractConfig implements RepositoryChangeList
@Override
public String getProperty(String key, String defaultValue) {
if (m_configProperties == null) {
logger.error("Config initialization failed, always return default value!");
logger.warn("Could not load config from Apollo, always return default value!");
return defaultValue;
}
return this.m_configProperties.getProperty(key, defaultValue);
......
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