调整日志级别
This commit is contained in:
@@ -236,7 +236,7 @@ class XiuxianPlugin(MessagePluginInterface):
|
||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||
"""初始化插件:加载配置,接入 DB 与 Redis,并注册功能权限。"""
|
||||
self.LOG = logger
|
||||
self.LOG.info(f"正在初始化 {self.name} 插件...")
|
||||
self.LOG.debug(f"正在初始化 {self.name} 插件...")
|
||||
|
||||
self.event_system = context.get("event_system")
|
||||
self.db_manager = DBConnectionManager.get_instance()
|
||||
@@ -435,7 +435,7 @@ class XiuxianPlugin(MessagePluginInterface):
|
||||
self.LOG.warning(f"解析境界配置失败: {realm_name}={config_str}, 错误: {e}")
|
||||
|
||||
self.LOG.info(f"境界配置解析完成:层级阈值{len(self.layer_threshold_map)}个,突破配置{len(self.break_config)}个")
|
||||
self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
|
||||
self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}")
|
||||
return True
|
||||
|
||||
def start(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user