parameters: (self, record)
docstring: Handle an error during logging.
  
          An error has occurred during logging. Most likely cause -
          connection lost. Close the socket so that we can retry on the
          next event.
docstring_summary: Handle an error during logging.
docstring_tokens: Handle an error during logging .
function: def handleError(self, record):
          """
          Handle an error during logging.
  
          An error has occurred during logging. Most likely cause -
          connection lost. Close the socket so that we can retry on the
          next event.
          """
          if self.closeOnError and self.sock:
              self.sock.close()
              self.sock = None        #try to reconnect next time
          else:
              logging.Handler.handleError(self, record)
function_tokens: def handleError ( self , record ) : if self . closeOnError and self . sock : self . sock . close ( ) self . sock = None #try to reconnect next time else : logging . Handler . handleError ( self , record )