adjust log level for dockwidget (#258)
Some checks are pending
Build AppImage / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Build AppImage / Explore-Gitea-Actions (push) Waiting to run
Co-authored-by: Dominik Demuth <dominik.demuth@physik.tu-darmstadt.de> Reviewed-on: #258
This commit is contained in:
parent
2f9cb761cf
commit
299bb043ea
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user