From 3a2ffb9d5d25318ebd6f834a0cf8e82e9291bf99 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/services/versionchooser/utils/chooser.py b/core/services/versionchooser/utils/chooser.py index a048c0b2b4..facb3ac168 100644 --- a/core/services/versionchooser/utils/chooser.py +++ b/core/services/versionchooser/utils/chooser.py @@ -230,6 +230,9 @@ 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"], }