Adding xtf support to log executed trajectories for debugging