Quickly reading a few threads, this what I notices with such ecu issues:
If there is a ignition pick up issues, you will have this issues. Its the only time the ecu spends most of its cpu cycles. After all, all operations are based on the ecu knowing where the engine is.
Logging is secondary and will be put on pauses.
You will need to check from the ecu to the sensors. Cam & Crank sensors. ANy noise due to wiring issues to connection issues to sensor issues will result in such behaviour. Remember knowing where the engine timing is...Is key to the ECU
If you can simulate the issue, which can be sometimes g's forces on the car, scope the both sensors at the ecu if you want to have some fun, but it can be frustration.
Oh Logging will not tell you this. You need to atleast have a very high sample rate to do so for which general ecu loggging will not show.
I hope the following helps.
Cheers