Spaces:
Sleeping
Sleeping
File size: 464 Bytes
fea6236 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# 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") |