log the path