Commit 7fdbc11e by Jason Song

adjust client error logs

parent f86ac3ee
...@@ -48,8 +48,7 @@ public class ConfigUtil { ...@@ -48,8 +48,7 @@ public class ConfigUtil {
String appId = Foundation.app().getAppId(); String appId = Foundation.app().getAppId();
if (Strings.isNullOrEmpty(appId)) { if (Strings.isNullOrEmpty(appId)) {
appId = ConfigConsts.NO_APPID_PLACEHOLDER; appId = ConfigConsts.NO_APPID_PLACEHOLDER;
logger.error("app.id is not set, apollo will only load public namespace configurations!"); logger.warn("app.id is not set, apollo will only load public namespace configurations!");
Cat.logError(new ApolloConfigException("app.id is not set"));
} }
return appId; return appId;
} }
......
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