My Raspberry Pi has been broken last year. I can not maintain this software anymore. Please use log2ram.
Thank you.
Write the log on memory, not on disk. For Raspberry Pi or other SD card linux. I test on raspbian.
This code from A transient /var/log : Debian Administration.
Thanks for Matteo Cortese.
git clone git@github.com:senju/transientlog.git
cd transientlog
sudo ./install.sh
And reboot.