调整日志内容

This commit is contained in:
liuwei
2025-03-19 15:24:00 +08:00
parent d5b71ff5bd
commit ea6eecc3b0
5 changed files with 10 additions and 11 deletions

View File

@@ -77,9 +77,9 @@ class PluginInterface(ABC):
if os.path.exists(config_path):
with open(config_path, "r", encoding="utf-8") as f:
plugin_config = toml.load(f)
self.LOG.info(f"{config_path} 加载插件{self.name}配置:{plugin_config}")
self.LOG.debug(f"{config_path} 加载插件{self.name}配置:{plugin_config}")
self._config.update(plugin_config)
self.LOG.info(f"{config_path} 加载插件配置成功")
self.LOG.debug(f"{config_path} 加载插件配置成功")
return True
else:
self.LOG.info(f"插件配置文件 {config_path} 不存在,使用默认配置")