Skip to content

Commit

Permalink
🔊(cli) enable logs for runserver command
Browse files Browse the repository at this point in the history
`runserver` is used when developing or debugging Ralph LRS locally.
Adding the configuration when launching uvicorn server to display more logs.
  • Loading branch information
wilbrdt committed Feb 12, 2024
1 parent 75fbeea commit 2ea00d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ralph/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ def runserver(backend: str, host: str, port: int, **options):
env_file=env_file.name,
host=host,
port=port,
log_config=settings.LOGGING,
log_level="debug",
reload=True,
)
Expand Down

0 comments on commit 2ea00d2

Please sign in to comment.