logger is not serializable...use println instead, will find a solution later