//get the adapter values.
SpeedManagerAlgorithmProviderAdapter adpter = SMInstance.getInstance().getAdapter();
int adptCurrUpLimit = adpter.getCurrentUploadLimit();
int adptCurrDownLimit = adpter.getCurrentDownloadLimit();
//get the COConfigurationManager values.
SMConfigurationAdapter conf = SMInstance.getInstance().getConfigManager();
SpeedManagerLimitEstimate uploadSetting = conf.getUploadLimit();
SpeedManagerLimitEstimate downloadSetting = conf.getDownloadLimit();
StringBuffer sb = new StringBuffer(str);
sb.append(", Download current =").append(adptCurrDownLimit);
sb.append(", max limit =").append(downloadSetting.getString());
sb.append(", Upload current = ").append(adptCurrUpLimit);
sb.append(", max limit = ").append(uploadSetting.getString());
String msg = sb.toString();
LogEvent e = new LogEvent(ID,msg);
Logger.log(e);
if(dLog!=null){
dLog.log(msg);
}