Downgrade info logs to debug

pull/22482/head
Lidi Zheng 5 years ago
parent 77040726d4
commit 79497f8059
  1. 2
      src/python/grpcio/grpc/_cython/_cygrpc/aio/grpc_aio.pyx.pxi
  2. 2
      src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi

@ -77,7 +77,7 @@ cdef _actual_aio_initialization():
_GRPC_ASYNCIO_ENGINE,
_default_asyncio_engine(),
)
_LOGGER.info('Using %s as I/O engine', _global_aio_state.engine)
_LOGGER.debug('Using %s as I/O engine', _global_aio_state.engine)
# Initializes the process-level state accordingly
if _global_aio_state.engine is AsyncIOEngine.CUSTOM_IO_MANAGER:

@ -494,7 +494,7 @@ async def _handle_exceptions(RPCState rpc_state, object rpc_coro, object loop):
except asyncio.CancelledError:
_LOGGER.debug('RPC cancelled for servicer method [%s]', _decode(rpc_state.method()))
except _ServerStoppedError:
_LOGGER.info('Aborting RPC due to server stop.')
_LOGGER.debug('Aborting RPC due to server stop.')
except Exception as e:
_LOGGER.exception('Unexpected [%s] raised by servicer method [%s]' % (
type(e).__name__,

Loading…
Cancel
Save