]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: Add --convert= command to journalctl 22998/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 29 Sep 2022 10:07:54 +0000 (12:07 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Oct 2022 10:28:09 +0000 (12:28 +0200)
commit721620e8a32907ffe546a582c5ac7136b6367510
tree8bba81ddeea9557889aa8287828d78bef3252d83
parente81710d3d08886f8957bdbdb6746017ff0538818
journal: Add --convert= command to journalctl

--convert writes the journal files read by journalctl to the given
location. The location should be specified as a full journal file
path (e.g. /a/b/c/converted.journal). The directory specifies where
the converted journal files will be stored. The filename specifies
the naming convention the converted journal files will follow.
man/journalctl.xml
meson.build
src/journal/journalctl.c
src/journal/journald-server.c
src/shared/journal-util.c
src/shared/journal-util.h