Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

Advanced users • Re: Keeping /var/log/journal under control

$
0
0
My '/etc/systemd/journald.conf' for Pi 4B Bookworm 32-bit is all comments except -

Code:

SystemMaxUse=200MMaxRetentionSec=7d
I think that was the default because I don't recall having edited it and the filestamp is showing November 2023. It appears to have worked for me -

Code:

pi@Pi4B:~ $ sudo du -hs /var/log/* | sort -hr | head -n 553M     /var/log/journal34M     /var/log/Xorg.0.log.old1.1M    /var/log/wtmp.1892K    /var/log/samba828K    /var/log/wtmp

Statistics: Posted by hippy — Wed Apr 02, 2025 10:54 am



Viewing all articles
Browse latest Browse all 8015

Trending Articles