At 1 write cycle every hour
Everyone seems to quote something similar to this, but the fact is it's misleading. If you're using the storage to save config on shutdown, you're not doing one write cycle at all but however many bytes/pages/whatever your config takes up.
So as long as the firmware isn't treating a memory like that as a scratchpad
This is the crux of it, and Tesla shows that even competent professionals get it wrong sometimes. Not to mention:
plus some diagnostic logging
Oh boy! That kind of thing is just asking to wear out a chip in next to no time. When things go wrong you tend to get lots and lots of the same error sprayed at your logging console. OK, you say, it's not going to be the same as debug info, but on the other hand there isn't going to be a developer sitting there to pull the plug when it starts shouting, just some user who perhaps helpfully will be turning it off and on rapidly.
I am not saying it's always like that (and, indeed, you sound like yours was as designed), but these are areas that tend to catch developers out until after they realise they've made a mistake, which is generally a bit late.