If you don’t have any actuator, then basically any ardupilot board becomes a tracking and logging system.
ArduPilot is capable of logging all the internal data (raw and fused sensor data) but if you want to get sensor data from outside and store it externally, this post will be useful.