From f84c919f674286f802efb125f0d0522aac64f188 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 22 May 2023 09:48:15 -0700 Subject: [PATCH] Print the threshold --- src/tattler/core.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tattler/core.clj b/src/tattler/core.clj index 5a48be7..5fec931 100644 --- a/src/tattler/core.clj +++ b/src/tattler/core.clj @@ -39,8 +39,9 @@ (-> note (assoc :app app) (update :urgency codify-urgency))) - (log/info! logger (format "ignoring low-urgency message (%s): %s" + (log/info! logger (format "ignoring low-urgency message (%s < %s): %s" (:urgency note) + urgency-threshold (:summary note)))) (let [err (humanize (t/explain Notification note))] (log/error! logger (format "rejecting invalid notification: %s (%s)\n%s"