diff --git a/plugins/ai_auto_response/main.py b/plugins/ai_auto_response/main.py index e0f54fd..6e26219 100644 --- a/plugins/ai_auto_response/main.py +++ b/plugins/ai_auto_response/main.py @@ -65,7 +65,7 @@ class AIAutoResponsePlugin(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") diff --git a/plugins/ai_gen_image/main.py b/plugins/ai_gen_image/main.py index 849b1b5..ff546e0 100644 --- a/plugins/ai_gen_image/main.py +++ b/plugins/ai_gen_image/main.py @@ -62,7 +62,7 @@ class AIGenImagePlugin(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") @@ -85,7 +85,7 @@ class AIGenImagePlugin(MessagePluginInterface): 'temp') os.makedirs(self.temp_dir, exist_ok=True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/beautyleg/main.py b/plugins/beautyleg/main.py index f878f47..347f45b 100644 --- a/plugins/beautyleg/main.py +++ b/plugins/beautyleg/main.py @@ -62,7 +62,7 @@ class BeautyLegPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") @@ -79,7 +79,7 @@ class BeautyLegPlugin(MessagePluginInterface): self.LOG.warning(f"图片文件夹不存在: {self.image_folder}") os.makedirs(self.image_folder, exist_ok=True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/dify/main.py b/plugins/dify/main.py index 4c07b81..c088985 100644 --- a/plugins/dify/main.py +++ b/plugins/dify/main.py @@ -82,7 +82,7 @@ class DifyPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") @@ -100,7 +100,7 @@ class DifyPlugin(MessagePluginInterface): self.whitelist_ignore = dify_config.get("whitelist_ignore", False) self.http_proxy = dify_config.get("http-proxy", "") - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/douyin_parser/main.py b/plugins/douyin_parser/main.py index cc69383..5ed4066 100644 --- a/plugins/douyin_parser/main.py +++ b/plugins/douyin_parser/main.py @@ -75,7 +75,7 @@ class DouyinParserPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") diff --git a/plugins/duanju_search/main.py b/plugins/duanju_search/main.py index d71252d..e5fe624 100644 --- a/plugins/duanju_search/main.py +++ b/plugins/duanju_search/main.py @@ -57,7 +57,7 @@ class DuanjuSearchPlugin(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") @@ -66,7 +66,7 @@ class DuanjuSearchPlugin(MessagePluginInterface): self.command_format = self._config.get("DuanjuSearch", {}).get("command-format", "短剧 剧名") self.enable = self._config.get("DuanjuSearch", {}).get("enable", True) self.api_url = self._config.get("DuanjuSearch", {}).get("api_url", "https://api.uuuka.com/api/search") - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/fanhao_search/main.py b/plugins/fanhao_search/main.py index bfde55b..fe27e71 100644 --- a/plugins/fanhao_search/main.py +++ b/plugins/fanhao_search/main.py @@ -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: diff --git a/plugins/game_task/main.py b/plugins/game_task/main.py index 9e201fc..a022778 100644 --- a/plugins/game_task/main.py +++ b/plugins/game_task/main.py @@ -64,7 +64,7 @@ class GameTaskPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") @@ -90,7 +90,7 @@ class GameTaskPlugin(MessagePluginInterface): # 初始化数据库连接 self.db_manager = DBConnectionManager.get_instance() self.encyclopedia_db = EncyclopediaDB(self.db_manager) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/global_news/main.py b/plugins/global_news/main.py index 2cc0777..b3e2d53 100644 --- a/plugins/global_news/main.py +++ b/plugins/global_news/main.py @@ -66,7 +66,7 @@ class GlobalNewsPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") @@ -78,7 +78,7 @@ class GlobalNewsPlugin(MessagePluginInterface): self.enable = self._config.get("GlobalNews", {}).get("enable", True) self._key = self._config.get("GlobalNews", {}).get("authorization", "") self._url = self._config.get("GlobalNews", {}).get("url", "") - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/group_auto_invite/main.py b/plugins/group_auto_invite/main.py index c304347..e7a2763 100644 --- a/plugins/group_auto_invite/main.py +++ b/plugins/group_auto_invite/main.py @@ -60,7 +60,7 @@ class GroupAutoInvitePlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 获取Redis连接池 self.redis_pool = context.get("redis_pool") @@ -71,7 +71,7 @@ class GroupAutoInvitePlugin(MessagePluginInterface): self.command_format = plugin_config.get("command-format", "#加群配置|help") self.enable = plugin_config.get("enable", True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/group_member_change/main.py b/plugins/group_member_change/main.py index a1f4c31..21c9603 100644 --- a/plugins/group_member_change/main.py +++ b/plugins/group_member_change/main.py @@ -54,7 +54,7 @@ class GroupMemberChangePlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") self.LOG.info(f"{self.name} 插件初始化完成") return True diff --git a/plugins/group_virtual/main.py b/plugins/group_virtual/main.py index 0c2dc9a..0efdde9 100644 --- a/plugins/group_virtual/main.py +++ b/plugins/group_virtual/main.py @@ -59,7 +59,7 @@ class GroupVirtualPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化插件""" - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 保存上下文对象 self.event_system = context.get("event_system") diff --git a/plugins/guess_song/main.py b/plugins/guess_song/main.py index 0a5d946..58a3f92 100644 --- a/plugins/guess_song/main.py +++ b/plugins/guess_song/main.py @@ -125,7 +125,7 @@ class GuessSongPlugin(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") @@ -158,7 +158,7 @@ class GuessSongPlugin(MessagePluginInterface): "王菲", "张惠妹", "孙燕姿", "蔡依林", "五月天" ]) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/jd_sign_token/main.py b/plugins/jd_sign_token/main.py index 62c2840..0e2413d 100644 --- a/plugins/jd_sign_token/main.py +++ b/plugins/jd_sign_token/main.py @@ -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: diff --git a/plugins/lucky_pot/main.py b/plugins/lucky_pot/main.py index 0591ae6..e8ef5f4 100644 --- a/plugins/lucky_pot/main.py +++ b/plugins/lucky_pot/main.py @@ -119,7 +119,7 @@ class LuckyPotPlugin(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") @@ -145,7 +145,7 @@ class LuckyPotPlugin(MessagePluginInterface): # 玩家冷却时间 {user_id: timestamp} self.player_cooldowns = {} - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/message_push_task/main.py b/plugins/message_push_task/main.py index f6b42e5..0ba2c20 100644 --- a/plugins/message_push_task/main.py +++ b/plugins/message_push_task/main.py @@ -58,7 +58,7 @@ class MessagePushTask(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") @@ -78,7 +78,7 @@ class MessagePushTask(MessagePluginInterface): self.command_format = self._config.get("MessagePush", {}).get("command-format", "推送 消息内容") self.enable = self._config.get("MessagePush", {}).get("enable", True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/message_sign/main.py b/plugins/message_sign/main.py index 5c58042..18f61cb 100644 --- a/plugins/message_sign/main.py +++ b/plugins/message_sign/main.py @@ -75,7 +75,7 @@ class MessageSignPlugin(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") diff --git a/plugins/music/main.py b/plugins/music/main.py index 86071f1..58d3756 100644 --- a/plugins/music/main.py +++ b/plugins/music/main.py @@ -62,7 +62,7 @@ class MusicPlugin(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") @@ -71,7 +71,7 @@ class MusicPlugin(MessagePluginInterface): self.command_format = self._config.get("Music", {}).get("command-format", "点歌 歌曲名") self.enable = self._config.get("Music", {}).get("enable", True) self.music_api_url = self._config.get("Music", {}).get("music_api_url", "") - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/plugin_manager/main.py b/plugins/plugin_manager/main.py index d9d2aff..514a0b1 100644 --- a/plugins/plugin_manager/main.py +++ b/plugins/plugin_manager/main.py @@ -69,7 +69,7 @@ class PluginManagerPlugin(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") @@ -78,7 +78,7 @@ class PluginManagerPlugin(MessagePluginInterface): self.command_format = self._config.get("PluginManager", {}).get("command-format", "插件 列表") self.enable = self._config.get("PluginManager", {}).get("enable", True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def can_process(self, message: Dict[str, Any]) -> bool: diff --git a/plugins/point_trade/main.py b/plugins/point_trade/main.py index 24afc7d..82537c9 100644 --- a/plugins/point_trade/main.py +++ b/plugins/point_trade/main.py @@ -69,7 +69,7 @@ class PointTradePlugin(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") @@ -112,7 +112,7 @@ class PointTradePlugin(MessagePluginInterface): # 打劫冷却记录 {wxid: last_rob_time} self.rob_cooldown_records = {} - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/robot_menu/main.py b/plugins/robot_menu/main.py index 2637475..08e5904 100644 --- a/plugins/robot_menu/main.py +++ b/plugins/robot_menu/main.py @@ -58,7 +58,7 @@ class RobotMenuPlugin(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") @@ -68,7 +68,7 @@ class RobotMenuPlugin(MessagePluginInterface): self.command_format = self._config.get("RobotMenu", {}).get("command-format", "菜单 功能名") self.enable = self._config.get("RobotMenu", {}).get("enable", True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/stats_collector/main.py b/plugins/stats_collector/main.py index ecc0604..efdfb28 100644 --- a/plugins/stats_collector/main.py +++ b/plugins/stats_collector/main.py @@ -40,7 +40,7 @@ class StatsCollectorPlugin(PluginInterface): def __init__(self): super().__init__() self.LOG = logger - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # 默认配置 self.config = { "enable": True, diff --git a/plugins/system_updater/main.py b/plugins/system_updater/main.py index f33b967..c65186d 100644 --- a/plugins/system_updater/main.py +++ b/plugins/system_updater/main.py @@ -61,7 +61,7 @@ class SystemUpdaterPlugin(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.config = self._config @@ -74,7 +74,7 @@ class SystemUpdaterPlugin(MessagePluginInterface): self.admin_wxids = plugin_config.get("admin_wxids", []) self.enable = plugin_config.get("enable", True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/video/main.py b/plugins/video/main.py index 775a833..54a9278 100644 --- a/plugins/video/main.py +++ b/plugins/video/main.py @@ -67,7 +67,7 @@ class VideoPlugin(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.gbm = context.get("gbm") diff --git a/plugins/video_man/main.py b/plugins/video_man/main.py index 181cf68..7fbff45 100644 --- a/plugins/video_man/main.py +++ b/plugins/video_man/main.py @@ -68,7 +68,7 @@ class VideoManPlugin(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") @@ -82,7 +82,7 @@ class VideoManPlugin(MessagePluginInterface): if not os.path.exists(self.download_dir): os.makedirs(self.download_dir, exist_ok=True) - self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands}") + self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands}") return True def start(self) -> bool: diff --git a/plugins/weather/main.py b/plugins/weather/main.py index b02b3e4..020844e 100644 --- a/plugins/weather/main.py +++ b/plugins/weather/main.py @@ -121,7 +121,7 @@ class WeatherPlugin(MessagePluginInterface): def initialize(self, context: Dict[str, Any]) -> bool: """初始化""" self.LOG = logger - self.LOG.info(f"正在初始化 {self.name} 插件...") + self.LOG.debug(f"正在初始化 {self.name} 插件...") # Redis 初始化 self.db_manager = DBConnectionManager.get_instance() diff --git a/plugins/xiuren_image/main.py b/plugins/xiuren_image/main.py index 107fa34..2f32683 100644 --- a/plugins/xiuren_image/main.py +++ b/plugins/xiuren_image/main.py @@ -68,7 +68,7 @@ class XiurenImagePlugin(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") diff --git a/plugins/xiuxian/main.py b/plugins/xiuxian/main.py index d230d65..1981a3f 100644 --- a/plugins/xiuxian/main.py +++ b/plugins/xiuxian/main.py @@ -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: diff --git a/utils/robot_cmd/robot_command.py b/utils/robot_cmd/robot_command.py index dd5b9e8..2230a83 100644 --- a/utils/robot_cmd/robot_command.py +++ b/utils/robot_cmd/robot_command.py @@ -161,7 +161,7 @@ class GroupBotManager: """从 Redis 加载数据到本地缓存""" group_list = r.smembers("group:list") # 输出group_list 列表 - logger.info(f"group_list: {group_list}") + logger.debug(f"group_list: {group_list}") GroupBotManager.local_cache["group_list"] = set(group_list) # 加载群组权限 diff --git a/utils/wechat/message_to_db.py b/utils/wechat/message_to_db.py index 5a5cef9..7d3043d 100644 --- a/utils/wechat/message_to_db.py +++ b/utils/wechat/message_to_db.py @@ -64,7 +64,7 @@ class MessageStorage: # 确保图片存储目录存在 if not os.path.exists(self.image_dir): os.makedirs(self.image_dir, exist_ok=True) - logger.info(f"图片存储目录: {self.image_dir}") + logger.debug(f"图片存储目录: {self.image_dir}") def process_message(self, message: WxMessage): # 示例message字符串