Fix disappeared logs

This commit is contained in:
Michael Panchenko committed 2025-06-16 18:13:01 +02:00
1 parent 35f2aaa5ff
commit ec50e1a9c9
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -657,7 +657,6 @@ def create_ls_for_project(
trace_lsp_communication=trace_lsp_communication,
)
ls_logger = MultilspyLogger(log_level=log_level)
logging.basicConfig(format=LOG_DEFAULT_FORMAT, level=log_level, force=True)
log.info(f"Creating language server instance for {project_instance.project_root}.")
return SyncLanguageServer.create(
multilspy_config,
+1 -1
View File
@@ -43,7 +43,7 @@ def _dashboard_worker(
) -> None:
"""Entry point for the dashboard process."""
# Route all logging to the shared queue
root = logging.Logger.root
root = logging.getLogger()
root.handlers.clear()
root.setLevel(logging.DEBUG)
root.addHandler(QueueHandler(log_q))