rugged logs

Command help text

$ rugged logs --help

Usage: rugged logs [OPTIONS]

  Print the logs for a TUF repository.

Options:
  --local          Print the local logs. Defaults to true, unless a worker is
                   specified.
  --worker TEXT    The specific worker from which to retrieve logs. Can be
                   passed multiple times.
  --limit INTEGER  The number of lines to print for each log.
  --truncate       Instead of printing logs, empty log file(s).
  --help           Show this message and exit.

Command example output

$ rugged logs --worker=test-worker

=== Log for test-worker: /var/log/rugged/rugged.log ===
2026-06-08 21:53:24,192 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 21:54:20,490 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 21:58:13,961 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 21:59:25,075 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:03:55,640 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:06:02,161 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:07:27,497 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:10:30,138 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:20:32,877 INFO (base_worker.echo): test-worker received echo task: Ping!
2026-06-08 22:24:01,102 INFO (base_worker.echo): test-worker received echo task: Ping!
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Rugged TUF Server is a trademark of Consensus Enterprises.