To retrieve the primary log from the device, we have some terminal commands that can be executed (on my.autopi.io and local.autopi.io) to view the main log file:
minionutil.last_logs
minionutil.last_errors
minionutil.last_startup
These functions can also take various parameters. To see the documentation run:
minionutil.help
If logged onto the system using SSH (See guide) you can view the log file by running:
less /var/log/salt/minion
Note
The full log file is almost always preferred, but a partial view of the log or the last errors are also very helpful, and a bit easier to retrieve due via the above commands.
Remember that the timestamps in the log files is UTC
You can upload the full file by using this guide.