Adding external data values from telem ports to the log file : pixhwak?

Answered here, Logging data to pixhawk SD card.
Look at the new logger rather than sdlog2.