def fetch_log_tail(self, lines=50):
        return self.cluster.exec_cmd_on_host(
            self.cluster.get_master(),
            'tail -%d /var/log/prestoadmin/presto-admin.log' % (lines,),
            raise_error=False)
dataset/ETHPy150Open prestodb/presto-admin/tests/product/base_product_case.py/BaseProductTestCase.fetch_log_tail/original