Skip to content
Snippets Groups Projects
Commit 5591f2f4 authored by Florian Sesser's avatar Florian Sesser
Browse files

Limit journald disk usage on machines that ship logs away

parent ab7c1c54
No related branches found
No related tags found
3 merge requests!548update production,!544update production,!542Save some disk space on VMs
Pipeline #6470 failed
......@@ -47,6 +47,12 @@ in {
# for further details about these options.
#
MaxFileSec=1day
# This asks journald to not use more than 500M of disk space. Due to
# journald's characteristics this might only be a week of logs, but that
# should be okay since we ship all logs to a central server that keeps
# them for a while longer.
SystemMaxUse=500M
'';
services.promtail.configuration = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment