!3366 修改日志级别

Merge pull request !3366 from duxianzhi/log1112
This commit is contained in:
openharmony_ci 2024-11-12 13:04:55 +00:00 committed by Gitee
commit a66ae544f8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ static LE_STATUS RunLoop_(const EventLoop *loop)
ProcessEvent(loop, epoll->waitEvents[index].data.fd, EVENT_WRITE);
}
if (epoll->waitEvents[index].events & (EPOLLERR | EPOLLHUP)) {
LE_LOGV("RunLoop_ fd:%d, error:%d", epoll->waitEvents[index].data.fd, errno);
LE_LOGW("RunLoop_ fd:%d, error:%d", epoll->waitEvents[index].data.fd, errno);
ProcessEvent(loop, epoll->waitEvents[index].data.fd, EVENT_ERROR);
}
}

View File

@ -113,7 +113,7 @@ static LE_STATUS HandleStreamEvent_(const LoopHandle loopHandle, const TaskHandl
static LE_STATUS HandleClientEvent_(const LoopHandle loopHandle, const TaskHandle handle, uint32_t oper)
{
StreamClientTask *client = (StreamClientTask *)handle;
LE_LOGV("HandleClientEvent_ fd:%d oper 0x%x", GetSocketFd(handle), oper);
LE_LOGI("HandleClientEvent_ fd:%d oper 0x%x", GetSocketFd(handle), oper);
LE_STATUS status = LE_SUCCESS;
if (LE_TEST_FLAGS(oper, EVENT_WRITE)) {