From bb7bb25d893c5b1eb8d2a183d46894fda1632293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 23 Mar 2018 02:26:05 +0100 Subject: [PATCH] api/admin: do not log expected full tracebacks with ERROR level Make tests output cleaner. --- qubes/api/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes/api/__init__.py b/qubes/api/__init__.py index e5097fda..370e05f9 100644 --- a/qubes/api/__init__.py +++ b/qubes/api/__init__.py @@ -283,8 +283,9 @@ class QubesDaemonProtocol(asyncio.Protocol): 'src=%r meth=%r dest=%r arg=%r len(untrusted_payload)=%d') if self.debug: - self.app.log.exception(msg, - err, src, meth, dest, arg, len(untrusted_payload)) + self.app.log.debug(msg, + err, src, meth, dest, arg, len(untrusted_payload), + exc_info=1) if self.transport is not None: self.send_exception(err) self.transport.write_eof()