summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-07 09:28:27 +0200
committerGitHub <noreply@github.com>2023-04-07 09:28:27 +0200
commit1e094cb4ba258496dd8b210658106f3d196252a2 (patch)
tree5c3fa8f17a8525d15fe911dc68b94657322dffc1 /docs
parent744b04c5571eb1518e686dce505357aa3fb94ce8 (diff)
parentd23a1c52a93206b0dbabcb4336752ccb796c11c3 (diff)
downloadsystemd-1e094cb4ba258496dd8b210658106f3d196252a2.tar.gz
Merge pull request #27126 from yuwata/journal-compress
sd-journal: allow to specify compression algorithm through env
Diffstat (limited to 'docs')
-rw-r--r--docs/ENVIRONMENT.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md
index f29ca9226b..292a0f1e0e 100644
--- a/docs/ENVIRONMENT.md
+++ b/docs/ENVIRONMENT.md
@@ -515,6 +515,14 @@ SYSTEMD_HOME_DEBUG_SUFFIX=foo \
journal. Note that journal files in compact mode are limited to 4G to allow use of
32-bit offsets. Enabled by default.
+* `$SYSTEMD_JOURNAL_COMPRESS` – Takes a boolean, or one of the compression
+ algorithms "XZ", "LZ4", and "ZSTD". If enabled, the default compression
+ algorithm set at compile time will be used when opening a new journal file.
+ If disabled, the journal file compression will be disabled. Note that the
+ compression mode of existing journal files are not changed. To make the
+ specified algorithm takes an effect immediately, you need to explicitly run
+ `journalctl --rotate`.
+
`systemd-pcrphase`, `systemd-cryptsetup`:
* `$SYSTEMD_FORCE_MEASURE=1` — If set, force measuring of resources (which are