From ca6ccd9acf2cc11120642b749f8d374c14c2c6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jagoda=20Estera=20=C5=9Al=C4=85zak?= <128227338+j-g00da@users.noreply.github.com> Date: Thu, 22 Jan 2026 14:49:55 +0100 Subject: [PATCH] fix: Set logs required by grafana to INFO (#21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jagoda Ślązak --- filtermail/src/inbound.rs | 4 ++-- filtermail/src/outbound.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/filtermail/src/inbound.rs b/filtermail/src/inbound.rs index 2fc47b59..9f1623fc 100644 --- a/filtermail/src/inbound.rs +++ b/filtermail/src/inbound.rs @@ -45,11 +45,11 @@ impl SmtpHandler for IncomingBeforeQueueHandler { // Allow encrypted or securejoin messages if mail_encrypted || is_securejoin(&message) { - log::debug!("Incoming: Filtering encrypted mail."); + log::info!("Incoming: Filtering encrypted mail."); return Ok(()); } - log::debug!("Incoming: Filtering unencrypted mail."); + log::info!("Incoming: Filtering unencrypted mail."); // Allow cleartext mailer-daemon messages if let Some(auto_submitted) = message.headers.get_first_value("Auto-Submitted") diff --git a/filtermail/src/outbound.rs b/filtermail/src/outbound.rs index 2d67c33d..9535f379 100644 --- a/filtermail/src/outbound.rs +++ b/filtermail/src/outbound.rs @@ -89,11 +89,11 @@ impl SmtpHandler for OutgoingBeforeQueueHandler { // Allow encrypted or securejoin messages if mail_encrypted || is_securejoin(&message) { - log::debug!("Outgoing: Filtering encrypted mail."); + log::info!("Outgoing: Filtering encrypted mail."); return Ok(()); } - log::debug!("Outgoing: Filtering unencrypted mail."); + log::info!("Outgoing: Filtering unencrypted mail."); // Allow passthrough senders if self