uni-api / log_config.py
yym68686's picture
Change log display
a1d3f78
raw
history blame
238 Bytes
import logging
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
logger = logging.getLogger("uni-api")
httpx_logger = logging.getLogger("httpx")
httpx_logger.setLevel(logging.CRITICAL)