net: silence some epoll logs (#3654)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions

This commit is contained in:
Marcin Mikołajczyk 2025-09-25 21:41:31 +02:00 committed by GitHub
parent 98ceb6e43e
commit a6f5e4c7dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -779,7 +779,7 @@ int PS4_SYSV_ABI sceNetEpollDestroy(OrbisNetId epollid) {
return ORBIS_NET_ERROR_EBADF; return ORBIS_NET_ERROR_EBADF;
} }
LOG_INFO(Lib_Net, "called, epollid = {} ({})", epollid, file->epoll->name); LOG_DEBUG(Lib_Net, "called, epollid = {} ({})", epollid, file->epoll->name);
file->epoll->Destroy(); file->epoll->Destroy();
@ -794,8 +794,8 @@ int PS4_SYSV_ABI sceNetEpollWait(OrbisNetId epollid, OrbisNetEpollEvent* events,
return ORBIS_NET_ERROR_EBADF; return ORBIS_NET_ERROR_EBADF;
} }
auto epoll = file->epoll; auto epoll = file->epoll;
LOG_INFO(Lib_Net, "called, epollid = {} ({}), maxevents = {}, timeout = {}", epollid, LOG_DEBUG(Lib_Net, "called, epollid = {} ({}), maxevents = {}, timeout = {}", epollid,
epoll->name, maxevents, timeout); epoll->name, maxevents, timeout);
int sockets_waited_on = (epoll->events.size() - epoll->async_resolutions.size()) > 0; int sockets_waited_on = (epoll->events.size() - epoll->async_resolutions.size()) > 0;
@ -832,7 +832,7 @@ int PS4_SYSV_ABI sceNetEpollWait(OrbisNetId epollid, OrbisNetEpollEvent* events,
return ORBIS_NET_ERROR_EINTERNAL; return ORBIS_NET_ERROR_EINTERNAL;
} }
} else if (result == 0) { } else if (result == 0) {
LOG_DEBUG(Lib_Net, "timed out"); LOG_TRACE(Lib_Net, "timed out");
} else { } else {
for (; i < result; ++i) { for (; i < result; ++i) {
const auto& current_event = native_events[i]; const auto& current_event = native_events[i];