feat: add --no-tail option to pvr device logs

Summary

  • Adds --no-tail flag to pvr device logs command
  • When set, the log stream exits after consuming all available logs up to --to or NOW, instead of tailing indefinitely
  • Sets the server-side before filter so Elasticsearch constrains results to the time range, and exits cleanly when the scroll cursor is exhausted

Test plan

  • pvr device logs 69bf4ccec0329e0009885cb9 --rev=4 --no-tail — streams logs and exits
  • pvr device logs <device> --no-tail --to=<time> — stops at specified time
  • pvr device logs <device> — default behavior unchanged (still tails)

Merge request reports

Loading