Skip to content
Versora

Manual

Pipelines

Live job log

4 min read

On this page

On the pipelines screen, clicking a job opens its log below the stages. With the job running, new lines arrive on their own, and the screen follows the end of the log. The colors the job writes (the ANSI sequences) appear as they do in the terminal.

Where to find it

  • Pipelines screen: click the job card, or right-click › View log.
  • A pipeline notification can open the screen already on the job.

The log header shows the job's icon and state, the duration and, when it failed, the reason ("· the script failed"). On the right are the job buttons (run, retry, cancel), the artifacts, Open the job in the browser and Close the log.

The log bar

ElementWhat it does
Search the logLooks for the text in the log. The tooltip is "Search the log (Ctrl+F; Enter goes to the next match)". The counter shows "2/5" (current match and total) or "0".
Previous (Shift+Enter) / Next (Enter)Go to the previous or the next match.
Expand sections / Collapse sectionsOpens or closes all the sections of the log. Only appears when the log has sections.
FollowWith the job running: goes to the end and keeps following the new lines ("Follow the end of the log while the job runs").
EndWith the job finished: goes to the end of the log ("Go to the end of the log").
CopyCopies the whole log, as text, without the colors ("Copy the whole log (plain text, no colors)").

Shortcuts

KeyWhat it does
Ctrl+FMoves the focus to the Search the log field.
Enter / Shift+EnterIn the search field: next and previous match.
F3 / Shift+F3In the search field: next and previous match.
EscIn the search field with text: clears the search. Outside it: closes the pipelines screen.

Ctrl+F, F3 and Shift+F3 can be changed in Preferences › Keyboard shortcuts (see Customization).

Following the end

While the job runs, the screen stays at the end of the log and scrolls on its own with each new line. If you scroll up to read something, following stops, and new lines keep arriving without moving you from where you are. Click Follow, or scroll to the end, to start following again.

Sections

Jobs can group lines into sections:

  • on GitLab, with the section_start and section_end markers (including the sections the runner itself creates, such as the preparation and the script). A section marked as collapsed=true comes already collapsed;
  • on GitHub Actions, with ##[group] and ##[endgroup]. The ##[error], ##[warning] and ##[notice] lines are highlighted.

Click a section's title line to open or close it. The section's duration appears to the right of the title, when the job reports it.

Notices in place of the log

NoticeWhen
"The job hasn't started yet: the log shows up as soon as it runs."pending job
"Manual job: it hasn't run yet."manual job
"Skipped job: it didn't run."skipped job
"Loading the log…"first read
"Waiting for the job's output…"running job, with no lines yet
"The job didn't write anything to the log."finished job with no output
"This job triggers another pipeline and has no log."job that triggers a pipeline (with Open the triggered pipeline)

Large log

Each read brings at most the last 4 MB of the log: the end is what says why the job failed. When the beginning is left out, you see "The log is large: the beginning (12.4 MB) was left out." and the See the full log in the browser link.

GitHub Actions: the log only arrives at the end

GitHub only provides a job's log through the API after the job finishes. While the job runs, you see: "GitHub only provides the log through the API after the job finishes. Follow the job's steps here, or open it in the browser to see the live log." with Open in browser.

An old log may have expired: "GitHub no longer has this job's log (HTTP 410): it may have expired."

Copy puts the whole log on the clipboard and shows "Log copied (240 lines).". If the copy fails: "Couldn't copy to the clipboard.".

Caveats and messages

  • "You don't have permission to read this job's log (403): on GitLab, the log of a project with private pipelines is only visible to the Reporter role (or higher).": ask for access to the project.
  • Read errors appear above the log with Try again.
  • When you retry or run a job, the log of the previous run is discarded and the new one starts from scratch.

The search shortcuts are in Preferences › Keyboard shortcuts. There's no other preference for the log.

See also