mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
modify log level
Signed-off-by: chenshixu1 <chenshixu1@huawei.com> Change-Id: Id88b07e25f04f0aa67a3ddfba3e4f40f5fd43a1c
This commit is contained in:
parent
a162259135
commit
86e0d76e94
@ -825,13 +825,10 @@ void SetServicePathWithAsan(Service *service)
|
||||
|
||||
static void ParseOneServiceArgs(const cJSON *curItem, Service *service)
|
||||
{
|
||||
int ret = GetServiceArgs(curItem, "writepid", MAX_WRITEPID_FILES, &service->writePidArgs);
|
||||
ret += GetServiceArgs(curItem, D_CAPS_STR_IN_CFG, MAX_WRITEPID_FILES, &service->capsArgs);
|
||||
ret += GetServiceArgs(curItem, "permission", MAX_WRITEPID_FILES, &service->permArgs);
|
||||
ret += GetServiceArgs(curItem, "permission_acls", MAX_WRITEPID_FILES, &service->permAclsArgs);
|
||||
if (ret != 0) {
|
||||
INIT_LOGW("ParseOneServiceArgs failed.");
|
||||
}
|
||||
GetServiceArgs(curItem, "writepid", MAX_WRITEPID_FILES, &service->writePidArgs);
|
||||
GetServiceArgs(curItem, D_CAPS_STR_IN_CFG, MAX_WRITEPID_FILES, &service->capsArgs);
|
||||
GetServiceArgs(curItem, "permission", MAX_WRITEPID_FILES, &service->permArgs);
|
||||
GetServiceArgs(curItem, "permission_acls", MAX_WRITEPID_FILES, &service->permAclsArgs);
|
||||
size_t strLen = 0;
|
||||
char *fieldStr = GetStringValue(curItem, APL_STR_IN_CFG, &strLen);
|
||||
if (fieldStr != NULL) {
|
||||
|
@ -115,7 +115,7 @@ static int ReadMessage(int fd, char *buffer, uint32_t timeout)
|
||||
}
|
||||
|
||||
if (recvLen > sizeof(ParamMessage)) {
|
||||
PARAM_LOGI("recv message len is %d", recvLen);
|
||||
PARAM_LOGV("recv message len is %d", recvLen);
|
||||
break;
|
||||
}
|
||||
} while (1);
|
||||
|
Loading…
Reference in New Issue
Block a user