Thank you for advice but external SSD/USB is not an option. Unfortunately I
can't send logs to other machine because I will install the station in
remote place where web access is limited and I have limits for LTE transfer
(transfer rate and volume of data). UPS supply is out of the question too
you are free to do whatever you want...
You can even disable the rsyslog service completely and have no logging
at all.
However, turning off logging is not a very smart approach, and thinking
you can turn logging on again "when it's needed" is imho rather naive
thinking. When an application (an
Thank you. I'm using log2ram so I think it has the same effect. But I think
that some mechanism to completely turn off logging does/should exist. I can
always turn it on if needed.
I don't know if it is good approach but I've used
"disable_existing_loggers = True" directive in weewx.conf and l
I just log to tmpfs (essentially ramdisk) and it is not an issue for me.
Add this to your /etc/fstab and reboot
# put logs and tmp dirs in ramdisk ---
tmpfs /tmptmpfs
defaults,nosuid,mode=0755,nodev,noatime 0 0
tmpfs /var/logtmpfs
defaults