For those who have home assistant installed (as a docker container)on Raspberry Pi and don’t want to screw up your SD card, you can start to change your container logging to another place. A very common place to store logs is AWS CloudWatch, that is “free” (have some limits but not too bad).
I found this tutorial and it works very well for me (Running raspbian) and I think that will be good to share with you guys: