Embedded Raspberry Pi Zero W. Minimal logs generated but I only use
logs for debugging and why wear the SD card?
My question is simple. If I make a 50MByte or so RAMDISK and mount it on /var/log, will the logging daemons recreate all the files and
directories they need at boot time?
...
"Super-Fault-Tolerant" has always interested and
impressed me. It's an art unto itself. There are
only a few NEEDS - nuclear-weapons systems, nuke
reactors and, coolest, space probes. The way NASA
can essentially re-wire probes, work around even
primary memory and maybe sub-processor failure and
such, over a billion-mile remote connection is
just spectacular.
Secondly stop systemd spamming /var/log/syslog with all sorts of
crap you have no interest in. Create a file called /etc/rsyslog.d/drop.systemd.conf containing
# Drop messages from f***ing systemd
:programname,startswith,"systemd" stop
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:39:35 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,355,818 |