As I said, I've already "solved" it by using /dev/shm. I use MQTT pretty much everywhere, but no python involved in this task.
Reliability has outstanding running 24/7/365 with automatic recovery from power outages and wifi disruptions until the SD card corruption happened. I've an "identical" system out in the garage to which I've also changed to use /dev/shm. Its a few months newer, so if its SD card gets corrupted in a few months disapling all system log file writing will be a priority, Now its not, I'd assume the Raspbian developers know about SD cards not holding up all that well to lots of write activity and did what they could to address it.
A quick bit of Google suggests:
sudo systemctl disable rsyslog
For node-red , edit the setings file:
// Configure the logging output
// Console logging
and change level: from "info" to "off"
I haven't done it yet.
There may still be other on-going system logging processes I'm not aware of.