Ihar Hancharenka fcff30393d m
2024-03-29 14:13:53 +03:00

32 строки
791 B
Plaintext

http://www.unixmen.com/logging-journald-rhel7centos7/
https://wiki.manjaro.org/index.php/Limit_the_size_of_.log_files_%26_the_journal
2018
https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
Journal:
http://0pointer.de/blog/projects/journalctl.html
cfg
!!! man journald.conf
systemd-analyze cat-config systemd/journald.conf
/etc/systemd/journald.conf
SystemMaxUse
max disk size
default - 10% of the file system, the journal is at
100M
SystemMaxFiles/RuntimeMaxFiles
https://bbs.archlinux.org/viewtopic.php?id=284692
SystemMaxFileSize
the max size of each individual journal file
export SYSTEMD_LESS=FRXMK
or
journalctl --full
$ cat /etc/systemd/journald.conf.d/size.conf
[Journal]
Storage=persistent
SystemMaxUse=1G