From c09b872d58ab0b0cdd6693c20b85b1d1c7421a80 Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Mon, 13 May 2024 01:41:04 +0200 Subject: [PATCH] Suppress annoying worker seeding log messages Fixes #603 --- kraken/ketos/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kraken/ketos/__init__.py b/kraken/ketos/__init__.py index 4537691b3..2d246ec41 100644 --- a/kraken/ketos/__init__.py +++ b/kraken/ketos/__init__.py @@ -36,11 +36,10 @@ from .segmentation import segtest, segtrain from .transcription import extract, transcription -APP_NAME = 'kraken' - logging.captureWarnings(True) logger = logging.getLogger('kraken') - +# disable annoying lightning worker seeding log messages +logging.getLogger("lightning.fabric.utilities.seed").setLevel(logging.ERROR) # install rich traceback handler install(suppress=[click])