So who initiates the Logan Act then?

It wouldn't make sense that it is one of the houses or the executive. So does the judicial system act as a referee when the congressional/senate go up against the executive?