Spaces:
Runtime error
Runtime error
# core/logging_config.py | |
import logging | |
def setup_logging(): | |
"""Sets up the basic logging configuration for the application.""" | |
logging.basicConfig( | |
level=logging.INFO, | |
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' | |
) | |
# Tắt logging quá chi tiết từ một số thư viện | |
logging.getLogger("httpx").setLevel(logging.WARNING) | |
logging.getLogger("httpcore").setLevel(logging.WARNING) | |