From 989ce70f97dd5ce8d08cd495719362ea0bf96834 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 27 Mar 2024 18:20:00 +0100 Subject: [PATCH] refine logging --- chatmaild/src/chatmaild/metadata.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chatmaild/src/chatmaild/metadata.py b/chatmaild/src/chatmaild/metadata.py index cf8daf77..cbd65399 100644 --- a/chatmaild/src/chatmaild/metadata.py +++ b/chatmaild/src/chatmaild/metadata.py @@ -97,7 +97,6 @@ def handle_dovecot_protocol(rfile, wfile, notifier): def handle_dovecot_request(msg, transactions, notifier): # see https://doc.dovecot.org/3.0/developer_manual/design/dict_protocol/ - logging.warning("handling request: %r", msg) short_command = msg[0] parts = msg[1:].split("\t") if short_command == DICTPROXY_LOOKUP_CHAR: @@ -164,7 +163,7 @@ def main(): try: handle_dovecot_protocol(self.rfile, self.wfile, notifier) except Exception: - logging.exception("Exception in the handler") + logging.exception("Exception in the dovecot dictproxy handler") raise try: