Merge pull request #64 from chrylis/log-when-no-local-appId

log at INFO if the local connector is available but no application ID is found for it
This commit is contained in:
Ramnivas Laddad
2014-07-23 12:37:31 -07:00

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