yym68686 commited on
Commit
bcf9434
·
1 Parent(s): de886b3

Simplify code

Browse files
Files changed (1) hide show
  1. log_config.py +1 -2
log_config.py CHANGED
@@ -2,5 +2,4 @@ import logging
2
  logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
3
  logger = logging.getLogger("uni-api")
4
 
5
- httpx_logger = logging.getLogger("httpx")
6
- httpx_logger.setLevel(logging.CRITICAL)
 
2
  logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
3
  logger = logging.getLogger("uni-api")
4
 
5
+ logging.getLogger("httpx").setLevel(logging.CRITICAL)