Prioritizing Logs for Offload
This alarm is covered by this guide. Log offloader uses a queue to determine which log to offload next. Groups of logs can be added to the queue through the log_files binary
If specific files are desired to be pushed to the front of the queue, the binary can be run directly to do so without modifying or turning off the service.
To prioritize offloading, use the log_files offload files command. It takes a “glob” to match which files to offload, and requires --front to place them at the top of the offload queue.
--glob "*/raw/*"will offload all files in allrawdirectories--glob "*journalctl*"will offload all journalctl files--glob "*three-random-words*/raw/*"will offload all raw files in the sessionthree-random-words
Here is an example command to prioritize offloading of all raw files of one session:
$ log_files offload files --front --glob "wish-bizrate-bottle/raw/*"Example of commands to run from the A/B/Droid SSH to prioritize 10 minutes (2025-11-17 2025-11-17 2024-11-17 19:4*) of logs on zip-387 and droid 573:
### Zip-asudo /flight/bin/log_order_injection --zip-ipc unix:///flight/run/zip_ipc --asset-id p2-zip-387 --node-id zip-a --verbose order --glob "20251117-194*/*/*" --front
### Zip-bsudo /flight/bin/log_order_injection --zip-ipc unix:///flight/run/zip_ipc --asset-id p2-zip-387 --node-id zip-b --verbose order --glob "20251117-194*/*/*" --front
### Droidsudo /droid/bin/log_order_injection --zip-ipc unix:///droid/run/zip_ipc --asset-id p2-droid-573 --node-id droid --verbose order --glob "20251117-194*/*/*" --frontDid this guide help you get unblocked?
Open suggestions
There are no open suggestions.