mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 10:16:00 +00:00
Dashboard: use configured log level
This commit is contained in:
1 parent
216f74e5f9
commit
2ecee5003c
1 file changed
+1
-1
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user