socket read console logging