Added logger
Convert sysout to log
Added debug message for disconnection by client
Remove unused logger