Fundamentals
Logs
Build logs and app output per app, and the project log view.
| Output | Content |
|---|---|
| Build log | Output of the build: dependency installation, compilation, errors |
| App output | stdout and stderr of the running app |
Each project also has a project log for fetching, detecting and analyzing repositories.
View logs
- Log tab of an app: the sections Build log and App output, with a search.
- Logs in the project sidebar: all apps of the project in one stream, with app filter, search and a jump to the latest line.
lly attach <slug>: streams the log to the terminal. It shows the build log during the build and the app output after the deploy.--buildshows the build log after the deploy as well.
Logs stream live without reloading.
Step by step: Read logs.
Build logs
A build log holds up to 2 MiB per app. Output beyond that is truncated with a notice. The log is kept until the source is scanned again. Credentials in URLs are masked.
If a deploy fails, the failure reason names the stage and the build log shows the cause.