3 ms·
log2ram [1] can help you with reducing the writes of logging at least. It saves logging to ram and then writes it once a day. [1] https://github.com/azlux/log2
by mikkelam 6y ago
log2ram [1] can help you with reducing the writes of logging at least. It saves logging to ram and then writes it once a day.
[1] https://github.com/azlux/log2ram https://github.com/azlux/log2ram
- m463 6y agoThis is a beautiful little utility. I've been doing stuff like this manually for years, and usually throwing away what gets logged.
- jakemauer 6y agoThank you for sharing this, it's comments like this that make it hard to give up skimming HN. I have two Pi's running on SD cards that this is immediately beneficial for, so thank you.
- Avamander 6y ago/tmp and /var/log on tmpfs works as well, though it needs a bit of fiddling.