I updated my rpi 4, after 3 years. I used to disable logging using
But, I found out that this new 64 bit version deprecated rsyslog and using systemd-journald. So I tried to disable that too using again
But, seems like still reactivated by another process. Then I found this: https://raspberrypi.stackexchange.com/ ... sable-logs. Nice article, and I changed the "/etc/systemd/journald.conf" to But I still find that I also changed the logrotat.conf to "nocreate" & "nocreateolddir"
How can I stop log writing to my SD card? I actually never used logs, nor did I need it before. My rpi is just a headless unit running some containers and a good SD card is really hard get from where I live. Any suggestion will be highly appreciated.
Code:
sudo systemctl stop rsyslog && sudo systemctl disable rsyslog
Code:
sudo systemctl disable systemd-journald&&sudo systemctl status systemd-journald
Code:
Storage=volatileRuntimeMaxUse=16M
Code:
1.4M /run/log/journal25M /var/log/journal
How can I stop log writing to my SD card? I actually never used logs, nor did I need it before. My rpi is just a headless unit running some containers and a good SD card is really hard get from where I live. Any suggestion will be highly appreciated.
Statistics: Posted by sohojmanush — Fri Aug 02, 2024 10:02 pm