From 3dd513a01ba010e628a5c180ae5eddd804b06401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Fri, 5 Jul 2024 13:43:05 -0300 Subject: [PATCH] core: services: versionchooser: chooser: Limit maximum extension log size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- core/services/versionchooser/utils/chooser.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/services/versionchooser/utils/chooser.py b/core/services/versionchooser/utils/chooser.py index a048c0b2b4..f1899312c8 100644 --- a/core/services/versionchooser/utils/chooser.py +++ b/core/services/versionchooser/utils/chooser.py @@ -230,6 +230,10 @@ async def set_bootstrap_version(self, tag: str) -> web.StreamResponse: "/var/run/docker.sock:/var/run/docker.sock", "/var/logs/blueos:/var/logs/blueos", ], + "LogConfig": { + "Type": "json-file", + "Config": {"max-size": "30m", "max-file": "3"}, + }, }, "Env": [f"BLUEOS_CONFIG_PATH={HOME}/.config/blueos"], }