def tail(self, report_sleep=False):

        # make sure we're connected
        if not self.tailers:
            self.connect()

        try:
            # assuming this script is to run until someone kills it (Ctrl+C)
            while 1:
                lines_read = 0

                for host, tailers in self.tailers.iteritems():
                    for filename, tailer in tailers.iteritems():
                        # read as much data as we can from the file
                        for line in tailer.tail():
                            yield host, filename, line
                            lines_read += 1

                if not lines_read:
                    if report_sleep:
                        yield None, None, None
                    self.sleep()

        finally:
            self.disconnect()
Returns the 1-based index of the first object on this page,
dataset/ETHPy150Open praekelt/python-sshtail/sshtail/tailers.py/SSHMultiTailer.tail--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/core/paginator.py/Page.start_index