}
if (!check_server.IsReady()) {
- LOG(WARNING) << "Server is not ready, try to direct access";
+ LOG(WARNING) << "Server is not ready, try to direct access"
+ ", Request type: " << pkgmgr_common::ReqTypeToString(req_type_);
is_offline_ = true;
return RequestHandlerDirectAccess(&p);
}
cpu_inheritance_invoker_.SetCPUInheritance();
if (!socket_->Connect(req_type_)) {
- LOG(ERROR) << "Failed to connect client socket, try to direct access";
+ LOG(ERROR) << "Failed to connect client socket, try to direct access"
+ ", Request type: " << pkgmgr_common::ReqTypeToString(req_type_);
is_offline_ = true;
return RequestHandlerDirectAccess(&p);
}
dl_func(req_type_, raw, len,
pkgmgr_common::SystemLocale::GetInst(false).Get().c_str())));
+ LOG(WARNING) << "Success to receive result";
+
return true;
}