Skip to content

Commit

Permalink
Merge pull request #373 from DigitalSlideArchive/less-root-logging
Browse files Browse the repository at this point in the history
Reduce undesired root logging.
  • Loading branch information
manthey authored Jan 16, 2024
2 parents 7b7e456 + 2bae910 commit 2421641
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions histomicsui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#############################################################################

import json
import logging
import os
import re
from functools import wraps
Expand Down Expand Up @@ -55,6 +56,9 @@
# package is not installed
pass

# There are other packages that we add to the root log handler; stop that
# unless specifically desired.
logging.root.addHandler(logging.NullHandler())

_template = os.path.join(
os.path.dirname(__file__),
Expand Down

0 comments on commit 2421641

Please sign in to comment.