Relax log-level when polling engines are undefined

pull/13882/head
Mehrdad Afshari 7 years ago
parent 4233cf20c4
commit 98efefcc1e
  1. 2
      src/core/lib/iomgr/ev_epoll1_linux.cc
  2. 2
      src/core/lib/iomgr/ev_epollex_linux.cc
  3. 2
      src/core/lib/iomgr/ev_epollsig_linux.cc

@ -1258,8 +1258,6 @@ const grpc_event_engine_vtable* grpc_init_epoll1_linux(bool explicit_request) {
/* If GRPC_LINUX_EPOLL is not defined, it means epoll is not available. Return /* If GRPC_LINUX_EPOLL is not defined, it means epoll is not available. Return
* NULL */ * NULL */
const grpc_event_engine_vtable* grpc_init_epoll1_linux(bool explicit_request) { const grpc_event_engine_vtable* grpc_init_epoll1_linux(bool explicit_request) {
gpr_log(GPR_ERROR,
"Skipping epoll1 becuase GRPC_LINUX_EPOLL is not defined.");
return NULL; return NULL;
} }
#endif /* defined(GRPC_POSIX_SOCKET) */ #endif /* defined(GRPC_POSIX_SOCKET) */

@ -1479,8 +1479,6 @@ const grpc_event_engine_vtable* grpc_init_epollex_linux(
* NULL */ * NULL */
const grpc_event_engine_vtable* grpc_init_epollex_linux( const grpc_event_engine_vtable* grpc_init_epollex_linux(
bool explicitly_requested) { bool explicitly_requested) {
gpr_log(GPR_ERROR,
"Skipping epollex becuase GRPC_LINUX_EPOLL is not defined.");
return NULL; return NULL;
} }
#endif /* defined(GRPC_POSIX_SOCKET) */ #endif /* defined(GRPC_POSIX_SOCKET) */

@ -1758,8 +1758,6 @@ const grpc_event_engine_vtable* grpc_init_epollsig_linux(
* NULL */ * NULL */
const grpc_event_engine_vtable* grpc_init_epollsig_linux( const grpc_event_engine_vtable* grpc_init_epollsig_linux(
bool explicit_request) { bool explicit_request) {
gpr_log(GPR_ERROR,
"Skipping epollsig becuase GRPC_LINUX_EPOLL is not defined.");
return NULL; return NULL;
} }
#endif /* defined(GRPC_POSIX_SOCKET) */ #endif /* defined(GRPC_POSIX_SOCKET) */

Loading…
Cancel
Save