调整日志级别

This commit is contained in:
liuwei
2026-01-16 13:29:52 +08:00
parent a987902f72
commit 79d174649b
30 changed files with 49 additions and 49 deletions

View File

@@ -56,7 +56,7 @@ class FanhaoSearchPlugin(MessagePluginInterface):
def initialize(self, context: Dict[str, Any]) -> bool:
self.LOG = logger
self.LOG.info(f"正在初始化 {self.name} 插件...")
self.LOG.debug(f"正在初始化 {self.name} 插件...")
self.event_system = context.get("event_system")
@@ -76,7 +76,7 @@ class FanhaoSearchPlugin(MessagePluginInterface):
self.search_fields = cfg.get("search_fields", ["number"]) # 可能的字段名
# 延迟连接,在首次查询时连接,避免初始化阻塞
self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
return True
def start(self) -> bool: