def close(self):
        if self.sock:
            self.sock.close()
            self.sock = None
        logging.Handler.close(self)
Closes the socket.
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/SocketHandler.close