mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 08:18:36 +00:00
Fix disappeared logs
This commit is contained in:
1 parent
35f2aaa5ff
commit
ec50e1a9c9
2 files changed
+1
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user