From 7006689f214e6000e8eae7a359f85c6e02432125 Mon Sep 17 00:00:00 2001 From: Sophie Tauchert Date: Tue, 10 Jan 2023 14:32:06 +0100 Subject: [PATCH] Decrease verbosity of logging --- ntfy/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ntfy/bot.py b/ntfy/bot.py index 55ded00..82f5f85 100644 --- a/ntfy/bot.py +++ b/ntfy/bot.py @@ -149,10 +149,11 @@ class NtfyBot(Plugin): line = await resp.content.readline() # convert to string and remove trailing newline line = line.decode("utf-8").strip() - self.log.debug("Received notification: %s", line) + self.log.trace("Received notification: %s", line) message = json.loads(line) if message["event"] != "message": continue + self.log.debug("Received message event: %s", line) # persist the received message id await self.db.update_topic_id(topic.id, message["id"])