Revert "Configure module level loggers with basicConfig()"

This reverts commit a20e2073c1.
pull/17064/head
Richard Belleville 6 years ago
parent ff1c31f47c
commit 1e05d48d2d
  1. 1
      src/python/grpcio/grpc/_channel.py
  2. 1
      src/python/grpcio/grpc/_common.py
  3. 1
      src/python/grpcio/grpc/_cython/_cygrpc/grpc_string.pyx.pxi
  4. 1
      src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi
  5. 1
      src/python/grpcio/grpc/_plugin_wrapping.py
  6. 1
      src/python/grpcio/grpc/_server.py
  7. 1
      src/python/grpcio/grpc/framework/foundation/callable_util.py
  8. 1
      src/python/grpcio/grpc/framework/foundation/logging_pool.py
  9. 1
      src/python/grpcio/grpc/framework/foundation/stream_util.py
  10. 1
      src/python/grpcio_testing/grpc_testing/_channel/_invocation.py
  11. 1
      src/python/grpcio_testing/grpc_testing/_server/_rpc.py
  12. 1
      src/python/grpcio_testing/grpc_testing/_time.py
  13. 1
      src/python/grpcio_tests/tests/interop/server.py

@ -24,7 +24,6 @@ from grpc import _grpcio_metadata
from grpc._cython import cygrpc
from grpc.framework.foundation import callable_util
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)
_USER_AGENT = 'grpc-python/{}'.format(_grpcio_metadata.__version__)

@ -20,7 +20,6 @@ import six
import grpc
from grpc._cython import cygrpc
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)
CYGRPC_CONNECTIVITY_STATE_TO_CHANNEL_CONNECTIVITY = {

@ -14,7 +14,6 @@
import logging
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)
# This function will ascii encode unicode string inputs if neccesary.

@ -18,7 +18,6 @@ import logging
import time
import grpc
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)
cdef class Server:

@ -20,7 +20,6 @@ import grpc
from grpc import _common
from grpc._cython import cygrpc
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -27,7 +27,6 @@ from grpc import _interceptor
from grpc._cython import cygrpc
from grpc.framework.foundation import callable_util
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)
_SHUTDOWN_TAG = 'shutdown'

@ -21,7 +21,6 @@ import logging
import six
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -17,7 +17,6 @@ import logging
from concurrent import futures
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -19,7 +19,6 @@ import threading
from grpc.framework.foundation import stream
_NO_VALUE = object()
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -18,7 +18,6 @@ import threading
import grpc
_NOT_YET_OBSERVED = object()
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -18,7 +18,6 @@ import threading
import grpc
from grpc_testing import _common
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -21,7 +21,6 @@ import time as _time
import grpc
import grpc_testing
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)

@ -25,7 +25,6 @@ from tests.interop import methods
from tests.interop import resources
from tests.unit import test_common
logging.basicConfig()
_ONE_DAY_IN_SECONDS = 60 * 60 * 24
_LOGGER = logging.getLogger(__name__)

Loading…
Cancel
Save