logMessage += "----------------------<br>";
dlog_print(DLOG_INFO, LOG_TAG, "FoundHost: %s", resourceURI.c_str());
dlog_print(DLOG_INFO, LOG_TAG, "FoundUri : %s", hostAddress.c_str());
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog,
&logMessage);
else
{
// Resource is invalid
+
logMessage = "Found Resource invalid!";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog,
&logMessage);
}
logMessage += "----------------------<br>";
dlog_print(DLOG_INFO, LOG_TAG, "Host: %s", resourceURI.c_str());
dlog_print(DLOG_INFO, LOG_TAG, "Uri : %s", hostAddress.c_str());
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog,
&logMessage);
logMessage = logMessage + "Region : " + rep.getValue< std::string >("r") + "<br>";
}
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog,
&logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### onUpdateConfigurationsCallback: EXIT!!!!");
}
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### onGetConfigurationsCallback: exit!!!!");
}
logMessage = logMessage + "FactoryReset : " +
rep.getValue< std::string >("value") + "<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### onFactoryReset: exit!!!!");
}
logMessage = logMessage + "Reboot : " +
rep.getValue< std::string >("value") + "<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### onReboot: exit!!!!");
}
string logMessage;
logMessage = "Resource created : <br>" + typeName + "<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### createResourceCollection: exit!!!!");
}
{
dlog_print(DLOG_ERROR, LOG_TAG, "Note that you first create a group to use this command");
string logMessage = "FIRST CREATE GROUP <br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
return;
}
dlog_print(DLOG_ERROR, LOG_TAG, "Note that you first create a group to use this command");
string logMessage = "FIRST CREATE GROUP <br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
return;
}
{
string logMessage = "UpdateConfigurations called successfully<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
}
dlog_print(DLOG_ERROR, LOG_TAG, "Note that you first create a group to use this command");
string logMessage = "FIRST CREATE GROUP <br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
return;
}
{
string logMessage = "FactoryReset called successfully<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
}
dlog_print(DLOG_INFO, LOG_TAG, "Note that you first create a group to use this command");
string logMessage = "FIRST CREATE GROUP <br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
return;
}
{
string logMessage = "Reboot called successfully<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
}
dlog_print(DLOG_INFO, LOG_TAG, "#### reboot EXIT!!!!");
string logMessage;
logMessage = "Supported Configuration List :<br>" + listOfSupportedConfigurationUnits + "<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
dlog_print(DLOG_INFO, LOG_TAG, "#### getListOfSupportedConfigurationUnits EXIT!!!!");
}
dlog_print(DLOG_INFO, LOG_TAG, "#### Read NULL RegionValue");
string logMessage = "Region Value should not be NULL<br>";
logMessage += "----------------------<br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
}
else
{
dlog_print(DLOG_ERROR, LOG_TAG, "Note that you first create a group to use this command");
string logMessage = "FIRST CREATE GROUP <br>";
+ dlog_print(DLOG_INFO, LOG_TAG, " %s", logMessage.c_str());
ecore_main_loop_thread_safe_call_sync((void * ( *)(void *))updateConfigLog, &logMessage);
return;
}
if (NULL == popup_fields)
{
dlog_print(DLOG_INFO, LOG_TAG, "#### Memory allocation failed");
- popup_fields->popup = NULL;
- popup_fields->entry = NULL;
}
else
{
naviframe_pop_cb(void *data, Elm_Object_Item *it)
{
onDestroyConfigure();
+ resourceTable.clear();
if (NULL != log_entry)
{
evas_object_del(log_entry);