Remove logging configuration, as this should be done globally.

logging.basicConfig() shouldn't be called by individual addons.
This commit is contained in:
Sybren A. Stüvel 2016-05-03 14:58:46 +02:00
parent 61b8667f3b
commit 0ccd5cbf97

View File

@ -32,14 +32,6 @@ bl_info = {
'support': 'TESTING' '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 # Support reloading
if 'pillar' in locals(): if 'pillar' in locals():
import importlib import importlib