diff options
Diffstat (limited to 'src/core/lib/iomgr/is_epollexclusive_available.cc')
-rw-r--r-- | src/core/lib/iomgr/is_epollexclusive_available.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/is_epollexclusive_available.cc b/src/core/lib/iomgr/is_epollexclusive_available.cc index 542cc41e8f..036b77866f 100644 --- a/src/core/lib/iomgr/is_epollexclusive_available.cc +++ b/src/core/lib/iomgr/is_epollexclusive_available.cc @@ -16,6 +16,8 @@ * */ +#include <grpc/support/port_platform.h> + #include "src/core/lib/iomgr/port.h" #include "src/core/lib/iomgr/is_epollexclusive_available.h" @@ -37,7 +39,7 @@ bool grpc_is_epollexclusive_available(void) { int fd = epoll_create1(EPOLL_CLOEXEC); if (fd < 0) { if (!logged_why_not) { - gpr_log(GPR_ERROR, + gpr_log(GPR_DEBUG, "epoll_create1 failed with error: %d. Not using epollex polling " "engine.", fd); @@ -48,7 +50,7 @@ bool grpc_is_epollexclusive_available(void) { int evfd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); if (evfd < 0) { if (!logged_why_not) { - gpr_log(GPR_ERROR, + gpr_log(GPR_DEBUG, "eventfd failed with error: %d. Not using epollex polling " "engine.", fd); @@ -80,7 +82,7 @@ bool grpc_is_epollexclusive_available(void) { } } else { if (!logged_why_not) { - gpr_log(GPR_ERROR, + gpr_log(GPR_DEBUG, "epoll_ctl with EPOLLEXCLUSIVE | EPOLLONESHOT succeeded. This is " "evidence of no EPOLLEXCLUSIVE support. Not using " "epollex polling engine."); |