feat: subcommand "log" to format and filter cib logs from journald
Add subcommand “cibtool log” to extract cib log messages from journald logs, and pretty print them. Optionally with some very rudimentary filtering based on log level, message kind, or broker run id.
Example:
sudo journalctl -S today -u radicle-ci-broker -o json | cibtool log --log-level info
Signed-off-by: Lars Wirzenius liw@liw.fi
Add subcommand “cibtool log” to extract cib log messages from journald logs, and pretty print them. Optionally with some very rudimentary filtering based on log level, message kind, or broker run id.
Example:
sudo journalctl -S today -u radicle-ci-broker -o json | cibtool log --log-level info
Signed-off-by: Lars Wirzenius liw@liw.fi