From f3599cc4acbf14544597f7d0faf3d1b5589bfc80 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 17 Apr 2024 02:39:25 +0100 Subject: [PATCH] add tail to not spam --- src/utils/dockerUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dockerUtils.py b/src/utils/dockerUtils.py index 5a1d197..4452445 100644 --- a/src/utils/dockerUtils.py +++ b/src/utils/dockerUtils.py @@ -19,4 +19,4 @@ def restartTraefik(): def getTraefikLogs(): print("Getting Traefik logs, please wait...") - subprocess.run(["docker", "logs", containerName, "-f"]) \ No newline at end of file + subprocess.run(["docker", "logs", containerName, "-f", "--tail=250"]) \ No newline at end of file