modify log level

Signed-off-by: chenshixu1 <chenshixu1@huawei.com>
Change-Id: Id88b07e25f04f0aa67a3ddfba3e4f40f5fd43a1c
This commit is contained in:
chenshixu1 2024-01-16 10:30:51 +08:00
parent a162259135
commit 86e0d76e94
2 changed files with 5 additions and 8 deletions

View File

@ -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) {

View File

@ -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);