Logging
- Creating a config file and setting things up (more details here)
mkdir /etc/systemd/journald.conf.d/
touch /etc/systemd/journald.conf.d/null.conf
nano -w /etc/systemd/journald.conf.d/null.conf
[Journal]
Storage=persistent
Compress=100M
SystemMaxUse=5G
SystemKeepFree=4G
RuntimeKeepFree=4G
SystemMaxFileSize=500M
RuntimeMaxFileSize=250M
MaxFileSec=1week
MaxRetentionSec=1year
SyncIntervalSec=5m
ForwardToWall=yes
MaxLevelStore=info
ReadKMsg=yes
Audit=yes
LineMax=48K
systemctl restart systemd-journald
systemctl status systemd-journald