From 57f1b64c1e7bced87af54e17cbfc907cba466236 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Wed, 27 Apr 2022 11:45:34 -0400 Subject: [PATCH] Switch the default logger to the null handler. This is more in line with other libraries. --- large_image/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/large_image/config.py b/large_image/config.py index c305892b1..e6b61b99a 100644 --- a/large_image/config.py +++ b/large_image/config.py @@ -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)