retrofor / iamai

A Comprehensive AI Toolkit for Multimodal Learning and Cross-Platform Robotics(综合性人工智能工具库,强调同时支持多模态机器学习和跨平台机器人构建的能力)
https://iamai.is-a.dev
GNU Affero General Public License v3.0
26 stars 9 forks source link

需要对错误信息输出进行预处理 #288

Open NtskwK opened 1 month ago

NtskwK commented 1 month ago

当websocket连接连接失败时会在日志打印的错误信息内容较多。而ws重试的时间间隔相当短,这可能导致短时间内会产生大量不必要的日志信息。是否可以通过对常见错误输出的信息进行预处理(比如减少异常堆栈信息,增加解决建议),这样也有助于快速排查问题。

HsiangNianian commented 1 month ago
  1. You can set the reconnection interval in the corresponding adapter settings in config.toml, refer to the adapter configuration for details
  2. For error logs, they are more often discovered in a production environment, so it is recommended to check the .log files in the logs folder in production
  3. In the upcoming Rust refactoring, there will be some adjustments to log rendering

Thank you for your suggestions