revert logging instantiation to use 'mitx.' + __name__
This commit is contained in:
@@ -58,8 +58,7 @@ global_context = {'random': random,
|
||||
# These should be removed from HTML output, including all subelements
|
||||
html_problem_semantics = ["responseparam", "answer", "script","hintgroup"]
|
||||
|
||||
#log = logging.getLogger(__name__)
|
||||
log = logging.getLogger('mitx.common.lib.capa.capa_problem')
|
||||
log = logging.getLogger('mitx.' + __name__)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# main class for this module
|
||||
|
||||
@@ -26,8 +26,7 @@ from util import *
|
||||
from lxml import etree
|
||||
from lxml.html.soupparser import fromstring as fromstring_bs # uses Beautiful Soup!!! FIXME?
|
||||
|
||||
#log = logging.getLogger(__name__)
|
||||
log = logging.getLogger('mitx.common.lib.capa.responsetypes')
|
||||
log = logging.getLogger('mitx.' + __name__)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Exceptions
|
||||
|
||||
Reference in New Issue
Block a user