Skip to content

Print log directory for commands with spinner

What does this merge request do and why?

This enables developers to find related log files quickly in case of failure or debugging when running gdk reconfigure or gdk update:

...
├── ✔ Run `make postgresql-replica-2-setup` [527ms]
├── ✔ Run `make openbao-setup` [511ms]
└── ✔ Run `make gdk-reconfigure-task` [9s]

Logs written to /home/peter/devel/gitlab/gdk/log/gdk/rake-2024-12-13_11-13-06_209

✅️ Successfully updated!
...

Stumbled upon this when verifying !4289 (merged).

How to set up and validate locally

  1. gdk reconfigure

Screenshot_from_2024-12-13_11-09-07

  1. gdk update

Screenshot_from_2024-12-13_11-27-39

  1. See Logs written to ... messages

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
Edited by Peter Leitzen

Merge request reports

Loading