original_docstring: Closes all currently open Tail objects
docstring: Closes all currently open Tail objects
docstring_tokens: Closes all currently open Tail objects
code: def close(self, signalnum=None, frame=None):
          self._running = False
          """Closes all currently open Tail objects"""
          self._log_debug("Closing all tail objects")
          self._active = False
          for fid in self._tails:
              self._tails[fid].close()
          for n in range(0,self._number_of_consumer_processes):
              if self._proc[n] is not None and self._proc[n].is_alive():
                  self._logger.debug("Terminate Process: " + str(n))
                  self._proc[n].terminate()
                  self._proc[n].join()
code_tokens: def close ( self , signalnum = None , frame = None ) : self . _running = False self . _log_debug ( "Closing all tail objects" ) self . _active = False for fid in self . _tails : self . _tails [ fid ] . close ( ) for n in range ( 0 , self . _number_of_consumer_processes ) : if self . _proc [ n ] is not None and self . _proc [ n ] . is_alive ( ) : self . _logger . debug ( "Terminate Process: " + str ( n ) ) self . _proc [ n ] . terminate ( ) self . _proc [ n ] . join ( )
short_docstring: Closes all currently open Tail objects
short_docstring_tokens: Closes all currently open Tail objects
comment: """Closes all currently open Tail objects"""