fix logging in sockio
remove debug code