Sounds like an interesting project, I used to fly some model rockets, so I am officially an amateur rocket scientist
All the motion sensors have limitations, which you have to allow for. The flaws can be compensated by combining the different sensors (sensor fusion).
Accelerometer tells you acceleration, that includes gravity though, and you can't tell the difference between gravity and acceleration unless you know which way is "up". Gyros can sense change in direction. With 6 axes (accelerometer+gyro) you can do "inertial guidance", I guess you have to calibrate the initial state.
If you are not doing any guidance, logging raw data would be easiest, and crunch the data on a PC afterwards. I'm not sure what data rate you would need to get a decent track, depends on your rocket