2022-12-31 10:08:14 +03:00
|
|
|
import logging
|
|
|
|
|
2022-12-31 19:29:09 +03:00
|
|
|
# logging.getLogger('numba').setLevel(logging.WARNING)
|
2022-12-31 10:08:14 +03:00
|
|
|
|
2022-12-31 19:43:46 +03:00
|
|
|
# class UvicornSuppressFilter(logging.Filter):
|
|
|
|
# def filter(self, record):
|
|
|
|
# return False
|
2022-12-31 10:08:14 +03:00
|
|
|
|
2022-12-31 19:43:46 +03:00
|
|
|
# logger = logging.getLogger("uvicorn.error")
|
|
|
|
# logger.addFilter(UvicornSuppressFilter())
|
|
|
|
# # logger.propagate = False
|
|
|
|
# logger = logging.getLogger("multipart.multipart")
|
2022-12-31 19:58:38 +03:00
|
|
|
# logger.propagate = False
|
|
|
|
|
|
|
|
logging.getLogger('asyncio').setLevel(logging.WARNING)
|