There seems to be a minor issue when user wants to run it through pager (more) and wants cancel it. User will end up with stuck guestfish until journal-view transfers all journal items.
Output is configurable, it's the same format as virt-log has, since both uses same code. Maros Zatko (2): cat: move get_journal_field to fish/journal.c fish: add journal-view command cat/Makefile.am | 1 + cat/log.c | 113 ++------------------------------------- fish/Makefile.am | 1 + fish/fish.h | 3 ++ fish/journal.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++ generator/Makefile.am | 6 ++- generator/actions.ml | 22 ++++++++ generator/main.ml | 3 ++ 8 files changed, 179 insertions(+), 112 deletions(-) create mode 100644 fish/journal.c -- 1.9.3 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs