Spaces:
Runtime error
Runtime error
File size: 443 Bytes
a6fd1a3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# 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)
|