summaryrefslogtreecommitdiffstats
path: root/man/journalctl.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-09-29 12:07:54 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-10-07 12:28:09 +0200
commit721620e8a32907ffe546a582c5ac7136b6367510 (patch)
tree8bba81ddeea9557889aa8287828d78bef3252d83 /man/journalctl.xml
parentjournal: Store offsets to tail entry array objects in chain (diff)
downloadsystemd-721620e8a32907ffe546a582c5ac7136b6367510.tar.xz
systemd-721620e8a32907ffe546a582c5ac7136b6367510.zip
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.
Diffstat (limited to 'man/journalctl.xml')
-rw-r--r--man/journalctl.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml
index 75427bc632..eedef27648 100644
--- a/man/journalctl.xml
+++ b/man/journalctl.xml
@@ -854,6 +854,17 @@
cryptographic theory it is based on.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--convert=</option></term>
+
+ <listitem><para>Converts the specified journal files to the latest supported journal format. Takes
+ the path to store the converted journal files. The path should include the filename to be used for
+ the converted files, with the <literal>.journal</literal> extension (e.g.
+ <filename>/a/b/c/converted.journal</filename> will store the journal files in the
+ <filename>/a/b/c</filename> directory using <filename>converted.journal</filename> as the filename).
+ </para></listitem>
+ </varlistentry>
+
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>