If I'm going to make a call to logger, I really should create it first
authorDiane Trout <diane@caltech.edu>
Wed, 27 Jun 2012 23:40:22 +0000 (16:40 -0700)
committerDiane Trout <diane@caltech.edu>
Wed, 27 Jun 2012 23:40:22 +0000 (16:40 -0700)
htsworkflow/settings.py

index 7af5ac484f5e612dde288e3e4519215a031c9e83..1a3ede711f5dd359c477f60f70d1311cf29412bc 100644 (file)
@@ -28,6 +28,7 @@ The options understood by this module are (with their defaults):
 
 """
 import ConfigParser
+import logging
 import os
 import shlex
 import htsworkflow
@@ -37,6 +38,7 @@ from django.conf import global_settings
 from htsworkflow.util.api import make_django_secret_key
 
 HTSWORKFLOW_ROOT = os.path.abspath(os.path.split(htsworkflow.__file__)[0])
+LOGGER = logging.getLogger(__name__)
 
 # make epydoc happy
 __docformat__ = "restructuredtext en"