From 0ccd5cbf977a25f20b10045ed4cc7263ecab9688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 3 May 2016 14:58:46 +0200 Subject: [PATCH] Remove logging configuration, as this should be done globally. logging.basicConfig() shouldn't be called by individual addons. --- blender_cloud/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/blender_cloud/__init__.py b/blender_cloud/__init__.py index 7983e72..b4e5337 100644 --- a/blender_cloud/__init__.py +++ b/blender_cloud/__init__.py @@ -32,14 +32,6 @@ bl_info = { 'support': 'TESTING' } -import logging - -# TODO: remove this, as global logging configuration should not happen per addon. -logging.basicConfig(level=logging.INFO, - format='%(asctime)-15s %(levelname)8s %(name)s %(message)s') -logging.getLogger('cachecontrol').setLevel(logging.DEBUG) -logging.getLogger(__name__).setLevel(logging.DEBUG) - # Support reloading if 'pillar' in locals(): import importlib