added logging into starter.erl