swift/test
Chetan Mishra 84b995f275 Don't monkey patch logging on import
Previously swift.common.utils monkey patched logging.thread,
logging.threading, and logging._lock upon import with eventlet
threading modules, but that is no longer reasonable or necessary.

With py3, the existing logging._lock is not patched by eventlet,
unless the logging module is reloaded. The existing lock is not
tracked by the gc so would not be found by eventlet's
green_existing_locks().

Instead we group all monkey patching into utils function and apply
patching consistently across daemons and WSGI servers.

Co-Authored-By: Clay Gerrard <clay.gerrard@gmail.com>
Co-Authored-By: Alistair Coles <alistairncoles@gmail.com>
Closes-Bug: #1380815
Change-Id: I6f35ad41414898fb7dc5da422f524eb52ff2940f
2023-04-28 08:57:35 -07:00
..
cors s3api: Allow CORS preflights for pre-signed URLs 2021-07-14 10:52:12 -07:00
functional tests: Skip s3api functional tests when no s3api user configured 2023-03-10 14:07:21 -08:00
probe Merge "ssync: fix decoding of ts_meta when ts_data has offset" 2023-04-14 18:18:09 +00:00
s3api Tolerate absolute-form request targets 2023-01-03 12:49:30 -08:00
unit Don't monkey patch logging on import 2023-04-28 08:57:35 -07:00
__init__.py Clean up some cruft 2023-01-19 12:56:08 -08:00
debug_logger.py sharder: emit misplaced stats to statsd 2022-07-27 10:53:30 +01:00
sample.conf fix s3api functional tests 2020-05-15 22:38:04 -07:00