diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2021-10-23 22:43:00 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-10-07 11:28:12 +0200 |
commit | 61297656c7677a0c8574b95581499b241bfd261f (patch) | |
tree | a31feeb2050cfc4b77850db6b2bbe1df20e3a94d /docs | |
parent | 87413812c92b7a435e94c9c37ed634328d182d4d (diff) | |
download | systemd-61297656c7677a0c8574b95581499b241bfd261f.tar.gz |
journal: Enable compact mode
We also add an environment variable $SYSTEMD_JOURNAL_COMPACT that
can be used to disable compact mode if needed (similar to
$SYSTEMD_JOURNAL_KEYED_HASH).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index e229edc2aa..a840dd0c90 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -468,3 +468,10 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \ when kernel-install is invoked. This can be useful if kernel-install is invoked unconditionally as a child process by another tool, such as package managers running kernel-install in a postinstall script. + +`systemd-journald`: + +* `$SYSTEMD_JOURNAL_COMPACT` - Takes a boolean. If enabled, journal files are written + in a more compact format that reduces the amount of disk space required by the + journal. Note that journal files in compact mode are limited to 4G to allow use of + 32-bit offsets. Enabled by default. |