move log outside of Msg class, can't pickle!