Add extra logging to TM interface