log at INFO if the local connector is available but no application ID is

found for it
This commit is contained in:
Christopher Smith
2014-07-22 04:08:52 -05:00
parent 2f76b86c91
commit adb41b5cf0

View File

@@ -76,7 +76,12 @@ public class LocalConfigConnector extends AbstractCloudConnector<UriBasedService
if (fileProperties == null)
readFileProperties();
return findProperty(APP_ID_PROPERTY) != null;
String appId = findProperty(APP_ID_PROPERTY);
if (appId == null)
logger.info("the property " + APP_ID_PROPERTY + " was not found in the system properties or configuration file");
return appId != null;
}
@Override