pi 3B, octopi stretch 0.15.1, OctoPrint 1.3.10,
Using Raspberry pi. SD cards wear out quickly. They have limited number of write operations before failing. Write operations of pi's linux logging and Octoprint logging wear it out quickly.
Installed the utility/ service log2ram extends life by putting linux log files in a RAM disk. Very nice utility. Need to do more.
Octoprint logs are kept in /user/pi/.octoprint/logs not /var/log with the other linux log files. log2ram is not setup to "buffer" this folder. Running
$ iostat -d 60 /mmcblk0
show writing to the SD card at about 200K per minute.
have to check back on the rate with octoprint stopped.
Being a 95% linux noob, I need help to get log2ram to "buffer" the octoprint logs. Either
- reconfigure octoprint to log to /var/log
- add /user/pi/.octoprint/logs to the log2ram setup
Thank you for reading, Mitch