Deployments
Deployment logs
Use build and application logs to diagnose installation, startup, and runtime behavior.
1. Open a deployment to inspect its recorded output
Open a deployment to inspect its recorded output.
2. Start with the earliest error rather than only the final failure message
Start with the earliest error rather than only the final failure message.
3. Check dependency installation and build output before debugging runtime code
Check dependency installation and build output before debugging runtime code.
4. Avoid printing tokens, credentials, or environment-variable values into application logs
Avoid printing tokens, credentials, or environment-variable values into application logs.