调整日志级别
This commit is contained in:
@@ -87,7 +87,7 @@ class DouyinParserPlugin(MessagePluginInterface):
|
|||||||
self.http_proxy = douyin_config.get("http_proxy", "")
|
self.http_proxy = douyin_config.get("http_proxy", "")
|
||||||
self.download_mode = douyin_config.get("download_mode", "card") # card或file
|
self.download_mode = douyin_config.get("download_mode", "card") # card或file
|
||||||
|
|
||||||
self.LOG.info(f"[{self.name}] 插件初始化完成,代理设置: {self.http_proxy}")
|
self.LOG.debug(f"[{self.name}] 插件初始化完成,代理设置: {self.http_proxy}")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def start(self) -> bool:
|
def start(self) -> bool:
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ class MessageSignPlugin(MessagePluginInterface):
|
|||||||
# 加载词汇表
|
# 加载词汇表
|
||||||
self.load_vocabulary()
|
self.load_vocabulary()
|
||||||
|
|
||||||
self.LOG.info(
|
self.LOG.debug(
|
||||||
f"[{self.name}] 插件初始化完成,指令:{self._commands},补签指令:{self._makeup_commands},已加载 {len(self.vocab_list)} 个词汇")
|
f"[{self.name}] 插件初始化完成,指令:{self._commands},补签指令:{self._makeup_commands},已加载 {len(self.vocab_list)} 个词汇")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ class VideoPlugin(MessagePluginInterface):
|
|||||||
self.LOG.error(f"创建下载目录失败: {e}")
|
self.LOG.error(f"创建下载目录失败: {e}")
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.LOG.info(f"[{self.name}] 插件初始化完成,指令:{self._commands},下载目录:{self.download_dir}")
|
self.LOG.debug(f"[{self.name}] 插件初始化完成,指令:{self._commands},下载目录:{self.download_dir}")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def start(self) -> bool:
|
def start(self) -> bool:
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ class XiurenImagePlugin(MessagePluginInterface):
|
|||||||
# 初始化图片缓存管理器
|
# 初始化图片缓存管理器
|
||||||
self.image_cache_manager = ImageCacheManager(self.image_folder, cache_size)
|
self.image_cache_manager = ImageCacheManager(self.image_folder, cache_size)
|
||||||
|
|
||||||
self.LOG.info(
|
self.LOG.debug(
|
||||||
f"[{self.name}] 插件初始化完成,指令:{self._commands},图片目录:{self.image_folder},缓存大小:{cache_size}")
|
f"[{self.name}] 插件初始化完成,指令:{self._commands},图片目录:{self.image_folder},缓存大小:{cache_size}")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user