This commit is contained in:
MarkLo 2025-11-21 13:52:58 +08:00
parent 4a660b0897
commit ba1da4b0aa
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,10 @@ app = FastAPI(
@app.on_event("startup")
async def startup_event():
"""Log configuration on startup"""
# Debug: Log available environment variables (keys only)
import os
logger.warning(f"Available environment variables: {list(os.environ.keys())}")
redis_url = settings.redis_url
# Mask password if present
if "@" in redis_url: