Skip to content

Commit

Permalink
Merge pull request #840 from girder/logging-default-null-handler
Browse files Browse the repository at this point in the history
Switch the default logger to the null handler.
  • Loading branch information
manthey authored Apr 27, 2022
2 parents b999c5c + 57f1b64 commit 8998d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion large_image/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Default logger
fallbackLogger = logging.getLogger('large_image')
fallbackLogger.setLevel(logging.INFO)
fallbackLogHandler = logging.StreamHandler()
fallbackLogHandler = logging.NullHandler()
fallbackLogHandler.setLevel(logging.NOTSET)
fallbackLogger.addHandler(fallbackLogHandler)

Expand Down

0 comments on commit 8998d8c

Please sign in to comment.