This patch changes the log format for printing the process ID information.
Change-Id: I9baccccc859b6e8813e07328ac1697bc88bd76ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
auto app_status = AppStatusManager::GetInst().Find(
pending_item->GetPid());
if (app_status == nullptr || !app_status->IsStarting()) {
- _W("%s is waiting to be started. request_id: %u",
- appid.c_str(), app_status ? app_status->GetRequestID() : 0);
+ _W("%s is waiting to be started. request_id: %u, pid: %d",
+ appid.c_str(), app_status ? app_status->GetRequestID() : 0,
+ app_status ? app_status->GetPID() : 0);
+ if (app_status)
+ req->SetTargetPID(app_status->GetPID());
+
req->SetCritical();
req->SetTimer();
}