Export your logs

Export your logs

When running Fleetshare via Docker, you can access the logs using the standard Docker logs command.

To view the logs in real-time:

sudo docker logs -f fleetshare-client

To export the logs to a file:

sudo docker logs fleetshare-client > fleetshare-docker-logs.txt 2>&1

This command will save the logs from the fleetshare-client container into a file named fleetshare-docker-logs.txt in your current directory.

You can then upload this file using bashupload.com and share the resulting link with the support team:

curl bashupload.com -T fleetshare-docker-logs.txt

If you need more detailed logs for troubleshooting, you can enable print_debug logging by setting "print_debug": true in your config.json file and restarting the container:

sudo docker restart fleetshare-client

Remember to set "print_debug": false again once you are done troubleshooting to avoid excessive log generation.