"What's past is prologue" is from Shakespeare's 'The Tempest'. It is part of an argument that past events dictate what we do next much like a prologue sets the stage for a play.
Logan ('Michael Weatherly') mentions that "the past is prologue." "Past Prologue" was the name of a Star Trek: Deep Space Nine (1993) episode. Both shows co-starred Nana Visitor.