I have some scripts that are running via
systemctl. They generate lots of logs.
My raspberry pi crashed, I checked and found out the SD card was full, and there were huge files in
I have not set any specific settings for
journalctl to clear the logs.
I read that
journalctl logs are cleared automatically, to preserve some disk space.
However, thats not happening in my case. I have a 16GB SD Card, of which max 5 GB is filled normally. All of remaining space was consumed by these logs.
I had the following two huge files in
All parameters inside
/etc/systemd/journald.conf are commented.