Adjusting logging for socket server