Skip to content

Commit b0f04a3

Browse files
committed
change log level
1 parent 936f121 commit b0f04a3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pyls/plugins/importmagic_lint.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ def _get_index(sys_path):
2222
"""
2323
key = tuple(sys_path)
2424
if key not in _index_cache:
25-
log.debug("Started building importmagic index")
25+
log.info("Started building importmagic index")
2626
index = importmagic.SymbolIndex()
2727
# The build tend to be noisy
28-
logging.getLogger('importmagic.index').setLevel(logging.ERROR)
2928
index.build_index(paths=sys_path)
3029
_index_cache[key] = index
31-
logging.getLogger('importmagic.index').setLevel(logging.DEBUG)
32-
log.debug("Finished building importmagic index")
30+
log.info("Finished building importmagic index")
3331
return _index_cache[key]
3432

3533

0 commit comments

Comments
 (0)