Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
Hi Tim,
By turning of the rsyslog-service all logs can be turned off, since all logging from that point on is simply ignored.
Cheers, Joe
Posts: 13,444
Threads: 305
Joined: Mar 2018
Reputation:
545
06-23-2023, 09:05 PM
(This post was last modified: 06-23-2023, 09:05 PM by Tim Curtis.)
I think thats just for "system" logs.
Applications like moOde, MPD CamillaDSP, PHP, NGINX etc write to their own log files.
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
As long as they use the standard logging facility it is turned off as well.
But even for those that don‘t, they produce only a fraction of the logging the normal system does.
This means that by switching of the generic logging we get from e.g., 9-12 hours with OverlayFS on a RPi3 to something that I wasn‘t able to measure yet (days or weeks?)…
Cheers, Joe
Posts: 58
Threads: 7
Joined: May 2023
Reputation:
2
This might just be the most elegant solution. It can be installed with
sudo apt install busybox-syslogd
and the configuration is done in /etc/defaults/busybox-syslogd (by default 128K of mem for the logs).
Cheers, Joe