diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-23 14:04:13 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-24 14:19:03 +0100 |
commit | 752ce3967e4d7be1a98d06e4a293f6ef87f8dec5 (patch) | |
tree | 146d4cdba91f725c0ab3205bd9124751df13bd84 | |
parent | man: add a note about "archived" journal files and when files can be copied (diff) | |
download | systemd-752ce3967e4d7be1a98d06e4a293f6ef87f8dec5.tar.xz systemd-752ce3967e4d7be1a98d06e4a293f6ef87f8dec5.zip |
man: mention that oldest journal files are removed
Fixes #7225.
-rw-r--r-- | man/journalctl.xml | 2 | ||||
-rw-r--r-- | man/systemd-journald.service.xml | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml index 37fb0d67fd..39c8c07d6b 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -752,7 +752,7 @@ <term><option>--vacuum-time=</option></term> <term><option>--vacuum-files=</option></term> - <listitem><para>Removes archived journal files until the disk + <listitem><para>Removes the oldest archived journal files until the disk space they use falls below the specified size (specified with the usual <literal>K</literal>, <literal>M</literal>, <literal>G</literal> and <literal>T</literal> suffixes), or all diff --git a/man/systemd-journald.service.xml b/man/systemd-journald.service.xml index dfff107e1f..d78aef3a63 100644 --- a/man/systemd-journald.service.xml +++ b/man/systemd-journald.service.xml @@ -296,7 +296,12 @@ systemd-tmpfiles --create --prefix /var/log/journal</programlisting> and the functions in the <citerefentry><refentrytitle>sd-journal</refentrytitle><manvolnum>3</manvolnum></citerefentry> library should be able to read all entries that have been fully written.</para> - </listitem> + + <para><filename>systemd-journald</filename> will automatically remove the oldest + archived journal files to limit disk use. See <varname>SystemMaxUse=</varname> + and related settings in + <citerefentry><refentrytitle>journald.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>. + </para></listitem> </varlistentry> <varlistentry> |