set up logging for sockets exercise