From 299bb043ea18247beb388d6f15ecc8e517e1bb10 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Wed, 27 Mar 2024 16:59:43 +0000 Subject: [PATCH] adjust log level for dockwidget (#258) Co-authored-by: Dominik Demuth Reviewed-on: https://gitea.pkm.physik.tu-darmstadt.de/IPKM/nmreval/pulls/258 --- src/gui_qt/lib/logger.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui_qt/lib/logger.py b/src/gui_qt/lib/logger.py index e1cb93c..346b638 100644 --- a/src/gui_qt/lib/logger.py +++ b/src/gui_qt/lib/logger.py @@ -135,6 +135,7 @@ class QTextHandler(logging.Handler): self.console = ConsoleDock(parent) self.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) + self.setLevel(logging.WARNING) def emit(self, record): msg = self.format(record)