logging with socket.io