diff --git a/checker.py b/checker.py index 1f0d589..996ae5e 100644 --- a/checker.py +++ b/checker.py @@ -118,10 +118,10 @@ class GRIST: def check_logs(log_handler): try: - logs = subprocess.run(['docker', 'compose', 'logs', '--since', '2h'], cwd='/root/node/', capture_output=True, text=True, check=True) + logs = subprocess.run(['docker', 'logs', '--since', '10m', 'infernet-node'], capture_output=True, text=True, check=True) log_content = logs.stdout except subprocess.CalledProcessError as e: - raise RuntimeError(f"Error running docker compose logs: {e}") from e + raise RuntimeError(f"Error running docker logs: {e}") from e subscription_pattern = r'Ignored subscription creation.*id=(\d+) err=Subscription completed' match = re.search(subscription_pattern, log_content)