Dashboard: use configured log level

This commit is contained in:
Michael Panchenko
2025-06-04 21:03:34 +02:00
parent 216f74e5f9
commit 2ecee5003c
+1 -1
View File
@@ -558,7 +558,7 @@ class SerenaAgent:
# start the dashboard (web frontend), registering its log handler
if self.serena_config.web_dashboard:
dashboard_log_handler = MemoryLogHandler()
dashboard_log_handler = MemoryLogHandler(level=self.serena_config.gui_log_window_level)
Logger.root.addHandler(dashboard_log_handler)
self._dashboard_thread, port = SerenaDashboardAPI(dashboard_log_handler, tool_names).run_in_thread()
webbrowser.open(f"http://localhost:{port}/dashboard/index.html")