From 670b110c3b59dfa335ac43065b2038400d1d04a9 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 24 Jun 2013 21:02:16 -0400 Subject: journald: fix space limits reporting Reporting of the free space was bogus, since the remaining space was compared with the maximum allowed, instead of the current use being compared with the maximum allowed. Simplify and fix by reporting limits directly at the point where they are calculated. Also, assign a UUID to the message. --- man/journald.conf.xml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'man') diff --git a/man/journald.conf.xml b/man/journald.conf.xml index 26f47f8975..6e43914f23 100644 --- a/man/journald.conf.xml +++ b/man/journald.conf.xml @@ -237,7 +237,17 @@ while the former apply if persistent logging is enabled and the system is fully booted - up. SystemMaxUse= + up. journalctl and + systemd-journald + ignore all files with names not ending + with .journal or + .journal~, so only + such files, located in the appropriate + directories, are taken into account + when calculating current disk usage. + + + SystemMaxUse= and RuntimeMaxUse= control how much disk space the journal may use up at @@ -271,11 +281,11 @@ values in bytes or use K, M, G, T, P, E as units for the specified sizes (equal to 1024, 1024²,... bytes). - Note that size limits are - enforced synchronously to journal - files as they are extended, and need - no explicit rotation step triggered by - time. + Note that size limits are enforced + synchronously when journal files + are extended, and no explicit + rotation step triggered by + time is needed. -- cgit v1.2.3-54-g00ecf