调整日志级别
This commit is contained in:
@@ -197,7 +197,7 @@ class JDTokenPlugin(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")
|
||||
@@ -215,7 +215,7 @@ class JDTokenPlugin(MessagePluginInterface):
|
||||
# 初始化青龙面板连接
|
||||
self.ql = QL(ql_host, client_id, client_secret)
|
||||
|
||||
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