From df038f01286085bdf2de8311c5bbf22e18753d4b Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Thu, 21 Apr 2022 13:47:52 +0200 Subject: [PATCH] more details for log limits --- admin-guide/puppet/profiles/log_client.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/admin-guide/puppet/profiles/log_client.rst b/admin-guide/puppet/profiles/log_client.rst index 39b089ba..f6665c75 100644 --- a/admin-guide/puppet/profiles/log_client.rst +++ b/admin-guide/puppet/profiles/log_client.rst @@ -25,10 +25,11 @@ journal_system_max_use string hiera('log_client::journal_system_max_us ``journal_system_keep_free`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -How much space :manpage:`systemd-journald(8)` should keep free for non-journal +How much space `systemd-journald(8)` should keep free for non-journal use in ``/var/log``. In addition to the syntax described in -:manpage:`journald.conf(5)` we also support percentages, ie ``'25%'`` means that +`journald.conf(5)` (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. ``journal_system_max_file_size`` @@ -41,8 +42,9 @@ 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 :manpage:`journald.conf(5)` we also support percentages, +the syntax described in `journald.conf(5)` (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. ``forward_to``