This commit is contained in:
parent
4a660b0897
commit
ba1da4b0aa
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue