From 8e3dbf8aed8455156d870a8b326ac3d9644cdb4d Mon Sep 17 00:00:00 2001 From: David Manthey Date: Thu, 17 Aug 2023 09:02:08 -0400 Subject: [PATCH] Adjust tifffile log level --- CHANGELOG.md | 5 +++++ sources/tifffile/large_image_source_tifffile/__init__.py | 1 + 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7417f23bb..811a40ac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 1.23.4 + +### Changes +- Adjust tifffile log level ([#1265](../../pull/1265)) + ## 1.23.3 ### Improvements diff --git a/sources/tifffile/large_image_source_tifffile/__init__.py b/sources/tifffile/large_image_source_tifffile/__init__.py index d2a859a25..956e1f91b 100644 --- a/sources/tifffile/large_image_source_tifffile/__init__.py +++ b/sources/tifffile/large_image_source_tifffile/__init__.py @@ -46,6 +46,7 @@ def _lazyImport(): msg = 'tifffile module is too old.' raise TileSourceError(msg) logging.getLogger('tifffile.tifffile').setLevel(logging.ERROR) + logging.getLogger('tifffile').setLevel(logging.ERROR) def et_findall(tag, text):