Made changes to logger.cc
Moved socket_addr variable to global space
Changed makefile to compile the logger.cc code.