Spaces:
Sleeping
Sleeping
# src/chimera/utils/logging_config.py | |
import logging | |
import sys | |
def setup_logging(): | |
logging.basicConfig( | |
level=logging.INFO, | |
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", | |
stream=sys.stdout, # Log to standard output, which HF Spaces captures | |
) | |
# You might want to set different levels for specific libraries | |
logging.getLogger("httpx").setLevel(logging.WARNING) | |
logger = logging.getLogger("ProjectChimera") |