adjust log level for dockwidget

This commit is contained in:
Dominik Demuth 2024-03-27 17:58:13 +01:00
parent 2f9cb761cf
commit e14ae8dbec

View File

@ -135,6 +135,7 @@ class QTextHandler(logging.Handler):
self.console = ConsoleDock(parent) self.console = ConsoleDock(parent)
self.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')) self.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s'))
self.setLevel(logging.WARNING)
def emit(self, record): def emit(self, record):
msg = self.format(record) msg = self.format(record)