Commit 7fdbc11e by Jason Song

adjust client error logs

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