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 ===
2025-10-09 15:31:26,507 INFO (base_worker.echo): test-worker received echo task: Ping!
2025-10-09 15:32:08,636 INFO (base_worker.echo): test-worker received echo task: Ping!
2025-10-09 15:32:49,933 INFO (base_worker.echo): test-worker received echo task: Ping!
2025-10-09 15:34:32,730 INFO (base_worker.echo): test-worker received echo task: Ping!
2025-10-09 15:38:28,138 INFO (base_worker.echo): test-worker received echo task: Ping!