added logging for rotation and translation failures