From what I’ve heard(it may be wrong)... members of Congress are exempt from the Logan Act.
See this other post: http://www.freerepublic.com/focus/f-news/1812987/posts