If you have an OBDII Bluetooth adapter and an Android device running Torque Pro, logging is very straightforward. I do find that the data is more consistently captured in the file if you have the gauges on an active "desktop" within Torque. You would be looking at Short Term Fuel Trim (banks 1 & 2), and Long Term Fuel Trim (banks 1 & 2). Also can capture timing advance, knock retard (custom PID for that), etc. I am sure one of the gurus on here can guide you on exactly what to log.
Once logging is complete, you can send the log to yourself in a CSV (Excel) format and look at the data. If you don't have too many parameters you are trying to log, you can set Torque to log every 1/10 of a second. I use the OBDLink device for faster speed, but normal ELM327 OBD adapters should be ok too.