Django on Laravel Cloud
Watch a log land
Each button writes an application log in the JSON shape Laravel Cloud already shows for Laravel. Then open your environment’s Logs tab and choose Application logs.
Write one line
Debug sits below the default level. Set LOG_LEVEL=debug on the environment and redeploy when you want that button to show up.
One request, two lines
Both lines carry the same Cloud request id, plus order_id and sku in the context.
Exceptions
The caught exception stays on this page and includes the timeout that caused it. The link answers 500, and Django writes that error to Application logs.
Where each log goes
- Application logs are the lines these buttons write.
- Access logs are the HTTP requests. Cloud’s proxy writes one for every page load.