A new fetch_logs command is available for Tacho Bridge App devices. It requests the application log for a selected period — 1 day, 1 week, or 1 month — counted back from the moment of the request.
The application slices the requested period out of its log files, packs it into a zip archive, and uploads it to the platform. The resulting file is stored in the flespi CDN and attached to the command result, so it can be downloaded right from the device commands history; a message with the media.log reference is also stored for the device.
Notes:
- Requires Tacho Bridge App 0.8.0-alpha.14 or newer. Older app versions ignore the request, and the command fails with a timeout once its queue TTL expires.
- If the requested period reaches further back than the retained log files, the upload contains everything available.
- The command allows up to 5 minutes for the collection and upload before timing out.

