From b3e397eb4cb3d0c2c2beff1013e65eec8253bb29 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 18 Jul 2024 13:39:16 +0200 Subject: [PATCH] Set gitea and grafana log level to warn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents filling the journal logs with information messages. Reviewed-by: Aleix Boné --- m/hut/gitea.nix | 1 + m/hut/monitoring.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/m/hut/gitea.nix b/m/hut/gitea.nix index 22a494b..02e0d50 100644 --- a/m/hut/gitea.nix +++ b/m/hut/gitea.nix @@ -17,6 +17,7 @@ REGISTER_MANUAL_CONFIRM = true; ENABLE_NOTIFY_MAIL = true; }; + log.LEVEL = "Warn"; mailer = { ENABLED = true; diff --git a/m/hut/monitoring.nix b/m/hut/monitoring.nix index 8abacbf..b04fa3f 100644 --- a/m/hut/monitoring.nix +++ b/m/hut/monitoring.nix @@ -31,6 +31,7 @@ }; feature_toggles.publicDashboards = true; "auth.anonymous".enabled = true; + log.level = "warn"; }; };