more details for log limits

This commit is contained in:
2022-04-21 13:54:53 +02:00
parent df038f0128
commit 657eaae91c

View File

@@ -25,9 +25,9 @@ journal_system_max_use string hiera('log_client::journal_system_max_us
``journal_system_keep_free``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How much space `systemd-journald(8)<https://www.freedesktop.org/software/systemd/man/systemd-journald.html>` should keep free for non-journal
How much space `systemd-journald(8)<https://www.freedesktop.org/software/systemd/man/systemd-journald.html>`_ should keep free for non-journal
use in ``/var/log``. In addition to the syntax described in
`journald.conf(5)<https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=>` (bytes or use K, M, G, T, P, E as units) we also support percentages, ie ``'25%'`` means that
`journald.conf(5)<https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=>`_ (bytes or use K, M, G, T, P, E as units) we also support percentages, ie ``'25%'`` means that
the journal will leave at least 25% of ``/var/log`` for other uses.
Note that for the use of a percentage limit ``/var/log`` must be an separate partition, else absolute values need to be set.
@@ -42,7 +42,7 @@ The maximum size of individual journal files.
~~~~~~~~~~~~~~~~~~~~~~~~~~
The maximum amount of space that the journal is allowed to use. In addition to
the syntax described in `journald.conf(5)<https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=>` (bytes or use K, M, G, T, P, E as units) we also support percentages,
the syntax described in `journald.conf(5)<https://www.freedesktop.org/software/systemd/man/journald.conf.html#SystemMaxUse=>`_ (bytes or use K, M, G, T, P, E as units) we also support percentages,
ie ``'50%'`` means that the journal can use at most 50% of ``/var/log``.
Note that for the use of a percentage limit ``/var/log`` must be an separate partition, else absolute values need to be set.