We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 936f121 commit b0f04a3Copy full SHA for b0f04a3
pyls/plugins/importmagic_lint.py
@@ -22,14 +22,12 @@ def _get_index(sys_path):
22
"""
23
key = tuple(sys_path)
24
if key not in _index_cache:
25
- log.debug("Started building importmagic index")
+ log.info("Started building importmagic index")
26
index = importmagic.SymbolIndex()
27
# The build tend to be noisy
28
- logging.getLogger('importmagic.index').setLevel(logging.ERROR)
29
index.build_index(paths=sys_path)
30
_index_cache[key] = index
31
- logging.getLogger('importmagic.index').setLevel(logging.DEBUG)
32
- log.debug("Finished building importmagic index")
+ log.info("Finished building importmagic index")
33
return _index_cache[key]
34
35
0 commit comments