Skip to content

Commit c908485

Browse files
committed
fix(langserver): remove timing messages from diagnostics in log
- if you want to see it again, then you have to enable the log output for the language server
1 parent b3c5dd3 commit c908485

File tree

1 file changed

+0
-3
lines changed
  • packages/language_server/src/robotcode/language_server/common/parts

1 file changed

+0
-3
lines changed

packages/language_server/src/robotcode/language_server/common/parts/diagnostics.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import concurrent.futures
22
import functools
33
import itertools
4-
import logging
54
import time
65
import uuid
76
from concurrent.futures import CancelledError
@@ -361,7 +360,6 @@ def run_workspace_diagnostics(self) -> None:
361360
with self._logger.measure_time(
362361
lambda: f"analyzing workspace for {len(documents)} documents",
363362
context_name="workspace_diagnostics",
364-
level=logging.CRITICAL,
365363
):
366364
self.on_workspace_diagnostics_analyze(self)
367365

@@ -444,7 +442,6 @@ def run_workspace_diagnostics(self) -> None:
444442
with self._logger.measure_time(
445443
lambda: f"collect workspace diagnostic for {len(documents_to_collect)} documents",
446444
context_name="collect_workspace_diagnostics",
447-
level=logging.CRITICAL,
448445
):
449446
breaked = False
450447
for document in set(documents) - set(documents_to_collect):

0 commit comments

Comments
 (0)