How is writing excessive logs to a destined-to-fail flash chip in a car's electronics system not a poor design choice? Pretend the person wrote "poorly-designed electronics implementations/sytems" or similar, because that's obviously the intended meaning.
If the flash was better, the product wouldn't fail so quickly. It's really a combination of poorly designed electronics, and a software bug wasn't there, the fault wouldn't have popped up so early.
it isn't a software fault, it's a whole defective system that was designed poorly end-to-end: the software does something inappropriate, which the hardware cannot bear, probably because of a high level mandate to write too many logs and to be too cheap.