Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2016-06-22 15:12:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-23 02:11:51 +0300
commit5b03267edc97da04eb66cc2b652d8334460f81b2 (patch)
treea90f0c02cda22ecc5231724396668c00cf71ac34
parent75fb4e0a91d46bb8695579b6a780d2c9a9aef624 (diff)
blendfile: Python modules shouldn't set their own log level.
Logging configuration should be done by the user, as described in https://code.blender.org/2016/05/logging-from-python-code-in-blender/
-rw-r--r--io_blend_utils/blend/blendfile.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_blend_utils/blend/blendfile.py b/io_blend_utils/blend/blendfile.py
index 5b499591..e14d3831 100644
--- a/io_blend_utils/blend/blendfile.py
+++ b/io_blend_utils/blend/blendfile.py
@@ -26,7 +26,6 @@ import struct
import tempfile
log = logging.getLogger("blendfile")
-log.setLevel(logging.ERROR)
FILE_BUFFER_SIZE = 1024 * 1024