simplify logging of principal variation