Logging motor temperature and rpm

There have been posts on custom sensors and one open issue from January, but no solution yet.
I was just wondering if anyone has been successful measuring and logging temperature and rpm during flight on a APM or Pixhawk?