Skip to content

Commit

Permalink
core: services: versionchooser: chooser: Limit maximum extension log …
Browse files Browse the repository at this point in the history
…size

Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Jul 6, 2024
1 parent 1eb0189 commit f4016d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/services/versionchooser/utils/chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
}
Expand Down

0 comments on commit f4016d2

Please sign in to comment.