[Bf-extensions-cvs] [5b03267] master: blendfile: Python modules shouldn't set their own log level.
Sybren A. Stüvel
noreply at git.blender.org
Thu Jun 23 01:06:52 CEST 2016
Commit: 5b03267edc97da04eb66cc2b652d8334460f81b2
Author: Sybren A. Stüvel
Date: Wed Jun 22 14:12:48 2016 +0200
Branches: master
https://developer.blender.org/rBA5b03267edc97da04eb66cc2b652d8334460f81b2
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/
===================================================================
M io_blend_utils/blend/blendfile.py
===================================================================
diff --git a/io_blend_utils/blend/blendfile.py b/io_blend_utils/blend/blendfile.py
index 5b49959..e14d383 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
More information about the Bf-extensions-cvs
mailing list