Skip to content

Commit

Permalink
Suppress annoying worker seeding log messages
Browse files Browse the repository at this point in the history
Fixes #603
  • Loading branch information
mittagessen committed May 12, 2024
1 parent b594af3 commit c09b872
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kraken/ketos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

Expand Down

0 comments on commit c09b872

Please sign in to comment.