调整日志级别
This commit is contained in:
@@ -123,7 +123,7 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
with open(self.vocab_file_path, 'r', encoding='utf-8') as f:
|
||||
lines = f.readlines()
|
||||
self.vocab_list = [line.strip() for line in lines if line.strip()]
|
||||
self.LOG.info(f"成功加载词汇表,共 {len(self.vocab_list)} 个单词")
|
||||
self.LOG.debug(f"成功加载词汇表,共 {len(self.vocab_list)} 个单词")
|
||||
else:
|
||||
self.LOG.error(f"词汇表文件不存在: {self.vocab_file_path}")
|
||||
except Exception as e:
|
||||
@@ -137,7 +137,7 @@ class MessageSignPlugin(MessagePluginInterface):
|
||||
|
||||
def start(self) -> bool:
|
||||
"""启动插件"""
|
||||
self.LOG.info(f"[{self.name}] 插件已启动")
|
||||
self.LOG.debug(f"[{self.name}] 插件已启动")
|
||||
self.status = PluginStatus.RUNNING
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user