From b8815bd409cf3c233941dc76dc72f925d86e4bf4 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Wed, 13 Apr 2022 14:24:36 +0000 Subject: [PATCH] Remove comment This is only semi correct. We keep logs up to what's specified in the privacy policy. Currently, that is implemented as keeping them for up to 30 days on the individual nodes as well as on the central Loki server. --- nixos/modules/monitoring/exporters/promtail.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nixos/modules/monitoring/exporters/promtail.nix b/nixos/modules/monitoring/exporters/promtail.nix index 9470cbda..8c408034 100644 --- a/nixos/modules/monitoring/exporters/promtail.nix +++ b/nixos/modules/monitoring/exporters/promtail.nix @@ -34,10 +34,6 @@ in { services.promtail.enable = true; networking.firewall.interfaces.monitoringvpn.allowedTCPPorts = [ 9080 ]; - # Since we'll send our journald logs elsewhere, we don't need to keep them - # here for very long. Keep them for a *little* while just to provide some - # context in case someone ends up looking at the logs on the system itself - # but generally suppose that people will look at Loki instead. services.journald.extraConfig = '' # This tells journald it can discard log files that contain only log # entries older than... -- GitLab