ZRAM compatibility on Raspberry Pi 4 8 GB

How about just mount log folders in tmpfs?
I did so for my Pi3 and it’s work perfect. The only note you should do as described in my post here /var/log on tmpfs - openhab2 directory issue.
Also ALWAYS use UPS for raspberry and you will not have any problems with SD cards.