Commit 3e2ef6b8 by ichuang Committed by Matthew Mongeau

revert logging instantiation to use 'mitx.' + __name__

parent e56a19b4
...@@ -58,8 +58,7 @@ global_context = {'random': random, ...@@ -58,8 +58,7 @@ global_context = {'random': random,
# These should be removed from HTML output, including all subelements # These should be removed from HTML output, including all subelements
html_problem_semantics = ["responseparam", "answer", "script","hintgroup"] html_problem_semantics = ["responseparam", "answer", "script","hintgroup"]
#log = logging.getLogger(__name__) log = logging.getLogger('mitx.' + __name__)
log = logging.getLogger('mitx.common.lib.capa.capa_problem')
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# main class for this module # main class for this module
......
...@@ -26,8 +26,7 @@ from util import * ...@@ -26,8 +26,7 @@ from util import *
from lxml import etree from lxml import etree
from lxml.html.soupparser import fromstring as fromstring_bs # uses Beautiful Soup!!! FIXME? from lxml.html.soupparser import fromstring as fromstring_bs # uses Beautiful Soup!!! FIXME?
#log = logging.getLogger(__name__) log = logging.getLogger('mitx.' + __name__)
log = logging.getLogger('mitx.common.lib.capa.responsetypes')
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Exceptions # Exceptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment