Change logging level from DEBUG to INFO
- Update fastapi_app.py to use INFO level instead of DEBUG - Update development.py config to default to INFO instead of DEBUG - Update uvicorn log_level from debug to info - Prevents debug messages from appearing in logs
This commit is contained in:
@@ -8,7 +8,7 @@ Environment Variables:
|
||||
JWT_SECRET_KEY: Secret key for JWT token signing (default: dev-secret)
|
||||
PASSWORD_SALT: Salt for password hashing (default: dev-salt)
|
||||
DATABASE_URL: Development database connection string (default: SQLite)
|
||||
LOG_LEVEL: Logging level (default: DEBUG)
|
||||
LOG_LEVEL: Logging level (default: INFO)
|
||||
CORS_ORIGINS: Comma-separated list of allowed CORS origins
|
||||
API_RATE_LIMIT: API rate limit per minute (default: 1000)
|
||||
"""
|
||||
@@ -91,8 +91,8 @@ class DevelopmentSettings(BaseSettings):
|
||||
# Logging Settings
|
||||
# ============================================================================
|
||||
|
||||
log_level: str = Field(default="DEBUG", env="LOG_LEVEL")
|
||||
"""Logging level (DEBUG for detailed output)."""
|
||||
log_level: str = Field(default="INFO", env="LOG_LEVEL")
|
||||
"""Logging level (INFO for standard output)."""
|
||||
|
||||
log_file: str = Field(default="logs/development.log", env="LOG_FILE")
|
||||
"""Path to development log file."""
|
||||
|
||||
Reference in New Issue
Block a user