Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see full logs on GitHub Actions (without restarting or cancelling workflow)?

Suppose a CI workflow is running, how can I view the full logs?

enter image description here

What I've tried

  • I can see the logs if I click on the task immediately after starting a new workflow, for example:

enter image description here

  • But once a workflow has been running I cannot see the full logs
  • I've tried clicking on the cog on top right of screen -> View raw logs, but it shows:
2022-07-14T16:29:41.4911629Z Requested labels: ubuntu-latest
2022-07-14T16:29:41.4911713Z Job defined at: username/repo/.github/workflows/main.yml@refs/heads/main
2022-07-14T16:29:41.4911751Z Waiting for a runner to pick up this job...
2022-07-14T16:29:42.2335026Z Job is waiting for a hosted runner to come online.
2022-07-14T16:29:48.5809023Z Job is about to start running on the hosted runner: Hosted Agent (hosted)

But I know there's much more than that.

  • If I cancel the workflow, it suddenly shows the full logs (I just need to be able to see them without cancelling or restarting a workflow):

enter image description here

like image 607
stevec Avatar asked Sep 05 '25 06:09

stevec


1 Answers

This is a bug, and it's been brought up to their attention long time ago. Still no fix.

https://github.com/actions/runner/issues/2131

like image 87
Marko T. Avatar answered Sep 07 '25 20:09

Marko T.