summaryrefslogtreecommitdiff
path: root/sphinx/util/docutils.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-21 20:59:29 +0900
committerGitHub <noreply@github.com>2020-03-21 20:59:29 +0900
commitc4b718997812524343b8fe65d4704709457afde0 (patch)
tree3a35886fcd347cdfe66161a5d8643e96f6a48d4e /sphinx/util/docutils.py
parente3abdd9166d0283faa6bad827272c057ba1e0b75 (diff)
parent23ffd8e01c078a68a74bdd1891006368ccd5049e (diff)
downloadsphinx-git-c4b718997812524343b8fe65d4704709457afde0.tar.gz
Merge pull request #7344 from tk0miya/7343_debug_log
Fix #7343: Sphinx builds has been slower since 2.4.0 on debug mode
Diffstat (limited to 'sphinx/util/docutils.py')
-rw-r--r--sphinx/util/docutils.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index 3fbd8a420..ed93939a7 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -479,8 +479,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'visit_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_visit calling %s for %s',
- method.__name__, node)
return method(node)
else:
super().dispatch_visit(node)
@@ -497,8 +495,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'depart_%s' % (node_class.__name__), None)
if method:
- logger.debug('SphinxTranslator.dispatch_departure calling %s for %s',
- method.__name__, node)
return method(node)
else:
super().dispatch_departure(node)