# According to SLUB policy beginning in July 2023, there are new retention periods for log entries governed by the law (SächsISichG §13). From now on, logs in journald are stored for 90 days, as reflected by this configuration.
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxFileSec=
MaxFileSec=1day
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxRetentionSec=
MaxRetentionSec=90day
# According to SLUB policy beginning in July 2023, there are new retention periods for log entries governed by the law (SächsISichG §13). From now on, logs in journald are stored for 90 days, as reflected by this configuration.
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxFileSec=
MaxFileSec=1day
# Find details on this configuration item at https://www.freedesktop.org/software/systemd/man/journald.conf.html#MaxRetentionSec=
MaxRetentionSec=90day
-path:"persistence.conf"
block:|
# If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable.
Storage=persistent
# If "persistent", data will be stored preferably on disk, i.e. below the /var/log/journal hierarchy (which is created if needed), with a fallback to /run/log/journal (which is created if needed), during early boot and if the disk is not writable.
Storage=persistent
# If enabled (the default), data objects that shall be stored in the journal and are larger than the default threshold of 512 bytes are compressed before they are written to the file system.
Compress=true
# If enabled (the default), data objects that shall be stored in the journal and are larger than the default threshold of 512 bytes are compressed before they are written to the file system.
Compress=true
# Controls how much disk space the journal may use up at most. (default: 10%)
SystemMaxUse=1G
# Controls how much disk space the journal may use up at most. (default: 10%)
SystemMaxUse=1G
# Controls how much disk space systemd-journald shall leave free for other uses. (default: 15%)
# THIS DOES NOT WORK, HOWEVER: SystemKeepFree=15%
SystemKeepFree=350M
# Controls how much disk space systemd-journald shall leave free for other uses. (default: 15%)